mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
feat(bank): new states and hooks
This commit is contained in:
1 parent
bc017f8629
commit
ad3cd5f19a
5 files changed
+69
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import { useRecoilState } from 'recoil';
|
||||
import { bankState } from './state';
|
||||
|
||||
export const useBankModal = () => {
|
||||
const [ showBankModal, setShowBankModal ] = useRecoilState(bankState.bankModal);
|
||||
return { showBankModal, setShowBankModal };
|
||||
}
|
||||
Reference in new issue
Block a user