mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Feat/inject debug - Use new abstraction to clean up debug data (#70)
* feat(phone/debug): Inject debug data for development * refactor(phone/debug): Refactored mock data to InjectDebugEvents * fix(phone/debug) removed useless debug injections
This commit is contained in:
11 files changed
+243
-256
No files matched your search
@@ -10,6 +10,21 @@ import useStyles from './modal.styles';
|
||||
import { useModal } from '../hooks/useModal';
|
||||
import Nui from '../../os/nui-events/utils/Nui';
|
||||
import CallTimer from './CallTimer';
|
||||
import InjectDebugData from '../../os/debug/InjectDebugData';
|
||||
|
||||
InjectDebugData([
|
||||
{
|
||||
app: 'CALL',
|
||||
method: 'setCaller',
|
||||
data: {
|
||||
accepted: true,
|
||||
isTransmitter: true,
|
||||
transmitter: 'Chip',
|
||||
receiver: 'Taso',
|
||||
phone_number: '860-4504',
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
export const CallModal = () => {
|
||||
const { call } = useCall();
|
||||
|
||||
Reference in new issue
Block a user