mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
7 lines
244 B
TypeScript
7 lines
244 B
TypeScript
import { useRecoilState } from 'recoil';
|
|
import { bankState } from './state';
|
|
|
|
export const useBankAlert = (): any => {
|
|
const [ bankAlert, setBankAlert ] = useRecoilState(bankState.transferSuccessful);
|
|
return { bankAlert, setBankAlert };
|
|
} |