mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
tweak(phone/dialer): Cleanup & type safety for state
Renamed some types to better represent their data
This commit is contained in:
1 parent
a0c5f94514
commit
e6deff23da
10 files changed
+46
-49
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import { useRecoilState } from 'recoil';
|
||||
import { CallProps } from '../../../../../typings/call';
|
||||
import { ActiveCall } from '../../../../../typings/call';
|
||||
import Nui from '../../nui-events/utils/Nui';
|
||||
import { callerState } from './state';
|
||||
import { CallEvents } from '../../../../../typings/call';
|
||||
|
||||
interface CallHook {
|
||||
call: CallProps;
|
||||
call: ActiveCall;
|
||||
setCall: (details: any) => void;
|
||||
acceptCall(): void;
|
||||
rejectCall(): void;
|
||||
|
||||
Reference in new issue
Block a user