mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
fix(Dial/nui): rename functions
This commit is contained in:
1 parent
c7b185014d
commit
f4b77d9f51
5 files changed
+13
-13
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import { useSetRecoilState } from 'recoil';
|
||||
import { useNuiEvent } from '../../../os/nui-events/hooks/useNuiEvent';
|
||||
import { dailerState } from './state';
|
||||
import { useDailHistory } from './useDialHistory';
|
||||
import { dialState } from './state';
|
||||
import { useDialHistory } from './useDialHistory';
|
||||
|
||||
export const useDailService = () => {
|
||||
const setHistory = useSetRecoilState(dailerState.history);
|
||||
export const useDialService = () => {
|
||||
const setHistory = useSetRecoilState(dialState.history);
|
||||
useNuiEvent('DAILER', 'setHistory', setHistory);
|
||||
|
||||
return useDailHistory();
|
||||
return useDialHistory();
|
||||
};
|
||||
Reference in new issue
Block a user