feat(bank/nui): new hook for credentials

This commit is contained in:
chip committed 2020-10-26 15:34:08 +01:00
1 parent f3fa4a3c1f
commit 397c90d300
1 file changed
+7
@@ -0,0 +1,7 @@
import { useRecoilValue } from 'recoil';
import { bankState } from './state';
export const useCredentials = (): any => {
const credentials = useRecoilValue(bankState.bankCredentials);
return { credentials };
}