From b6ac33116e2e0fcfbbb40b2b4f27adeb440ed3c6 Mon Sep 17 00:00:00 2001 From: chip Date: Wed, 4 Nov 2020 16:12:21 +0100 Subject: [PATCH] some testing with the transfer modal --- phone/src/apps/bank/components/transfers/TransferModal.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/phone/src/apps/bank/components/transfers/TransferModal.tsx b/phone/src/apps/bank/components/transfers/TransferModal.tsx index fe4050b..df85633 100644 --- a/phone/src/apps/bank/components/transfers/TransferModal.tsx +++ b/phone/src/apps/bank/components/transfers/TransferModal.tsx @@ -6,6 +6,7 @@ import CloseIcon from '@material-ui/icons/Close'; import Nui from '../../../../os/nui-events/utils/Nui'; import { useBankModal} from '../../hooks/useBankModal'; +import { Message } from '@material-ui/icons'; const useStyles = makeStyles((theme) => ({ input: { @@ -55,10 +56,7 @@ export const TransferModal = () => { amount, message }) - setTimeout(() => { - setShowBankModal(false) - }, 200) - + setShowBankModal(false) } return (