mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
feat(bank/nui): new hook for credentials
This commit is contained in:
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 };
|
||||
}
|
||||
Reference in new issue
Block a user