mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
working typescript version
This commit is contained in:
1 parent
581d6011e0
commit
cff746aa38
119 files changed
+247
-189
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { useNuiEvent } from "../../os/nui-events/hooks/useNuiEvent";
|
||||
import { useSetRecoilState } from "recoil";
|
||||
import { callerState } from "./state";
|
||||
import { useCall } from "./useCall";
|
||||
|
||||
export const useCallService = () => {
|
||||
const setCaller = useSetRecoilState(callerState.caller);
|
||||
useNuiEvent("CALL", "setCaller", setCaller);
|
||||
return useCall();
|
||||
};
|
||||
Reference in new issue
Block a user