feat(bank): new states and hooks

This commit is contained in:
chip committed 2020-10-20 15:45:35 +02:00
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 };
}