Files
new-phone-who-dis/phone/src/apps/bank/hooks/useBankNotification.ts
T
2021-03-15 10:13:25 +01:00

9 lines
248 B
TypeScript

import { useRecoilValue } from 'recoil';
import { Transfer } from '../../../../../typings/bank';
import { bankState } from './state';
export const useBankNotification = () => {
return useRecoilValue<Transfer | null>(bankState.notification);
};