mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
Prettified Code!
This commit is contained in:
1 parent
ae1715f173
commit
39a46ad4dc
1 file changed
+2
-3
@@ -1,7 +1,7 @@
|
||||
import { ESX } from './client';
|
||||
import events from '../utils/events';
|
||||
import { ICall } from '../../phone/src/common/typings/call';
|
||||
import config from '../utils/config'
|
||||
import config from '../utils/config';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
const exp = (global as any).exports;
|
||||
@@ -9,8 +9,7 @@ const exp = (global as any).exports;
|
||||
RegisterNuiCallbackType(events.PHONE_INITIALIZE_CALL);
|
||||
on(`__cfx_nui:${events.PHONE_INITIALIZE_CALL}`, (data: any) => {
|
||||
const timestamp = dayjs().locale(config.Locale).format('HH:mm');
|
||||
const start = Date.now()
|
||||
|
||||
const start = Date.now();
|
||||
|
||||
emitNet(events.PHONE_INITIALIZE_CALL, data.number, timestamp, start);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user