remove(phone/bank): remove unused hooks

This commit is contained in:
Christopher committed 2021-02-26 14:07:23 +01:00
1 parent 47218e63f5
commit f0305e3bb2
2 files changed
-13

No files matched your search

-4
View File
@@ -9,10 +9,6 @@ export const bankState = {
key: 'modalVisibility',
default: false,
}),
transferSuccessful: atom({
key: 'bankAlert',
default: null,
}),
bankCredentials: atom({
key: 'bankCredentails',
default: null,
@@ -1,9 +0,0 @@
import { useRecoilState } from 'recoil';
import { bankState } from './state';
export const useBankAlert = (): any => {
const [bankAlert, setBankAlert] = useRecoilState(
bankState.transferSuccessful
);
return { bankAlert, setBankAlert };
};