mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
feat(bank/nui): New hook for alert
This commit is contained in:
1 parent
5dfc5a890d
commit
e85d0a5298
1 file changed
+7
@@ -0,0 +1,7 @@
|
||||
import { useRecoilState } from 'recoil';
|
||||
import { bankState } from './state';
|
||||
|
||||
export const useBankAlert = () => {
|
||||
const [ bankAlert, setBankAlert ] = useRecoilState(bankState.bankAlert);
|
||||
return { bankAlert, setBankAlert };
|
||||
}
|
||||
Reference in new issue
Block a user