diff --git a/ts/components/IncomingCallBar.tsx b/ts/components/IncomingCallBar.tsx index 13243ba1f91..aa777ae4e9a 100644 --- a/ts/components/IncomingCallBar.tsx +++ b/ts/components/IncomingCallBar.tsx @@ -255,16 +255,16 @@ export const IncomingCallBar = (props: PropsType): JSX.Element | null => {
+ { + declineCall({ conversationId }); + }} + tabIndex={0} + tooltipContent={i18n('declineCall')} + /> {isVideoCall ? ( <> - { - declineCall({ conversationId }); - }} - tabIndex={0} - tooltipContent={i18n('declineCall')} - /> { @@ -283,24 +283,14 @@ export const IncomingCallBar = (props: PropsType): JSX.Element | null => { /> ) : ( - <> - { - declineCall({ conversationId }); - }} - tabIndex={0} - tooltipContent={i18n('declineCall')} - /> - { - acceptCall({ conversationId, asVideoCall: false }); - }} - tabIndex={0} - tooltipContent={i18n('acceptCall')} - /> - + { + acceptCall({ conversationId, asVideoCall: false }); + }} + tabIndex={0} + tooltipContent={i18n('acceptCall')} + /> )}