more formatting

This commit is contained in:
Christopher committed 2021-03-02 20:45:41 +01:00
1 parent 046447b0fb
commit f552c1212c
157 files changed
+635 -1579

No files matched your search

+1 -1
View File
@@ -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,
})
}),
);
}
};