mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
remove(phone/bank): remove unused hooks
This commit is contained in:
1 parent
47218e63f5
commit
f0305e3bb2
2 files changed
-13
No files matched your search
@@ -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 };
|
||||
};
|
||||
Reference in new issue
Block a user