Skip to content

Commit

Permalink
unecessary box
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoevanp committed Aug 3, 2022
1 parent 1b047b9 commit d82f0e1
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions apps/meteor/ee/client/voip/modal/DialPad/DialPadModal.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, Field, Modal, IconButton } from '@rocket.chat/fuselage';
import { Field, Modal, IconButton } from '@rocket.chat/fuselage';
import React, { ReactElement } from 'react';

import { DialInput } from './DialInput';
Expand Down Expand Up @@ -49,20 +49,18 @@ const DialPadModal = ({ initialValue, errorMessage, handleClose }: DialPadModalP
<Pad onClickPadButton={handlePadButtonClick} onLongPressPadButton={handlePadButtonLongPressed} />
</Modal.Content>
<Modal.Footer justifyContent='center'>
<Box display='flex' justifyContent='center'>
<IconButton
icon='phone'
disabled={isButtonDisabled}
borderRadius='full'
secondary
info
size='64px'
onClick={(): void => {
handleCallButtonClick();
handleClose();
}}
/>
</Box>
<IconButton
icon='phone'
disabled={isButtonDisabled}
borderRadius='full'
secondary
info
size='64px'
onClick={(): void => {
handleCallButtonClick();
handleClose();
}}
/>
</Modal.Footer>
</Modal>
);
Expand Down

0 comments on commit d82f0e1

Please sign in to comment.