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
@@ -2,6 +2,15 @@ import { useNuiEvent } from '../../nui-events/hooks/useNuiEvent';
|
||||
import { useSetRecoilState } from 'recoil';
|
||||
import { simcardState } from './state';
|
||||
import { useSimcard } from './useSimcard';
|
||||
import InjectDebugData from '../../debug/InjectDebugData';
|
||||
|
||||
InjectDebugData([
|
||||
{
|
||||
app: 'SIMCARD',
|
||||
method: 'setNumber',
|
||||
data: '111-1134',
|
||||
},
|
||||
]);
|
||||
|
||||
export const useSimcardService = () => {
|
||||
const setNumber = useSetRecoilState(simcardState.number);
|
||||
|
||||
Reference in new issue
Block a user