mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +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',
|
key: 'modalVisibility',
|
||||||
default: false,
|
default: false,
|
||||||
}),
|
}),
|
||||||
transferSuccessful: atom({
|
|
||||||
key: 'bankAlert',
|
|
||||||
default: null,
|
|
||||||
}),
|
|
||||||
bankCredentials: atom({
|
bankCredentials: atom({
|
||||||
key: 'bankCredentails',
|
key: 'bankCredentails',
|
||||||
default: null,
|
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