tweak(phone/dialer): Cleanup & type safety for state

Renamed some types to better represent their data
This commit is contained in:
Taso committed 2021-04-01 13:40:37 -04:00
1 parent a0c5f94514
commit e6deff23da
10 files changed
+46 -49

No files matched your search

+2 -2
View File
@@ -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;