mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
feat(phone/debug): Added a global window dispatch method
See JSDocs for usage details.
This commit is contained in:
1 parent
622a931ace
commit
b6352ccf82
2 files changed
+35
No files matched your search
@@ -8,6 +8,7 @@ import { Integrations } from '@sentry/tracing';
|
||||
import './main.css';
|
||||
import PhoneConfig from './config/default.json';
|
||||
import { PhoneContainer } from './PhoneContainer';
|
||||
import attachMockNuiEvent from './os/debug/AttachMockNuiEvent';
|
||||
|
||||
// Enable Sentry when config setting is true
|
||||
if (PhoneConfig.SentryErrorMetrics) {
|
||||
@@ -21,6 +22,8 @@ if (PhoneConfig.SentryErrorMetrics) {
|
||||
});
|
||||
}
|
||||
|
||||
attachMockNuiEvent();
|
||||
|
||||
ReactDOM.render(
|
||||
<HashRouter>
|
||||
<RecoilRoot>
|
||||
|
||||
Reference in new issue
Block a user