diff --git a/phone/src/apps/bank/components/BankApp.tsx b/phone/src/apps/bank/components/BankApp.tsx index e143a84..55415f5 100644 --- a/phone/src/apps/bank/components/BankApp.tsx +++ b/phone/src/apps/bank/components/BankApp.tsx @@ -21,7 +21,7 @@ import { NavigationBar } from "./navigation/NavigationBar"; import { BankHome } from './home/BankHome'; import { BankAccount } from './account/BankAccount'; import { TransactionList } from "./transactions/TransactionList"; -import { BankAlert } from "./notification/BankAlert"; +import { BankAlert } from "./alert/BankAlert"; const useStyles = makeStyles((theme) => ({ root: { diff --git a/phone/src/apps/bank/components/notification/BankAlert.tsx b/phone/src/apps/bank/components/notification/BankAlert.tsx deleted file mode 100644 index e1b1979..0000000 --- a/phone/src/apps/bank/components/notification/BankAlert.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import React, { useState } from 'react' -import MuiAlert from '@material-ui/lab/Alert'; -import Notification from '../../../../ui/components/Notification'; -import { useBankAlert } from '../../hooks/useBankAlert'; -import Snackbar from '@material-ui/core/Snackbar'; - -export const BankAlert = () => { - const [ open, setOpen ] = useState(false); - const { bankAlert, setBankAlert } = useBankAlert() - - - - const _handleClose = () => { - setOpen(false) - } - - return ( - - - You transferrred money - - - ) -}