mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
11 lines
384 B
TypeScript
11 lines
384 B
TypeScript
import { useSetRecoilState } from 'recoil'
|
|
import { useNuiEvent } from '../../../os/nui-events/hooks/useNuiEvent';
|
|
import { dailerState } from './state';
|
|
import { useDailHistory } from './useDailHistory';
|
|
|
|
export const useDailService = () => {
|
|
const setHistory = useSetRecoilState(dailerState.history);
|
|
useNuiEvent('DAILER', 'setHistory', setHistory);
|
|
|
|
return useDailHistory()
|
|
} |