mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
more formatting
This commit is contained in:
1 parent
046447b0fb
commit
f552c1212c
157 files changed
+635
-1579
No files matched your search
@@ -23,7 +23,7 @@ export const useNuiEvent = <S = Record<string, unknown>>(
|
||||
method: string,
|
||||
handler: Function,
|
||||
currentState?: S,
|
||||
options: IOptions = defaultOptions
|
||||
options: IOptions = defaultOptions,
|
||||
) => {
|
||||
const savedHandler: MutableRefObject<any> = useRef();
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ export const useNuiService = (options: IOptions = {}) => {
|
||||
window.dispatchEvent(
|
||||
new MessageEvent(eventNameFactory(app, method), {
|
||||
data,
|
||||
})
|
||||
}),
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user