mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
8 lines
246 B
TypeScript
8 lines
246 B
TypeScript
import { useRecoilState } from 'recoil';
|
|
import { bankState } from './state';
|
|
|
|
export const useBankModal = () => {
|
|
const [ showBankModal, setShowBankModal ] = useRecoilState(bankState.bankModal);
|
|
return { showBankModal, setShowBankModal };
|
|
}
|