aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/modal.tsx4
-rw-r--r--src/utils/updater.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/modal.tsx b/src/utils/modal.tsx
index 05baa8e..f59c26c 100644
--- a/src/utils/modal.tsx
+++ b/src/utils/modal.tsx
@@ -18,11 +18,11 @@ let modalId = 1337;
*/
export function openModal(Component: React.ComponentType, modalProps: Record<string, any>) {
let key = `Vencord${modalId++}`;
- modals.openModal(props =>
+ modals.openModal(props => (
<Modal.ModalRoot {...props} {...modalProps}>
<Component />
</Modal.ModalRoot>
- , { modalKey: key });
+ ), { modalKey: key });
return key;
};
diff --git a/src/utils/updater.ts b/src/utils/updater.ts
index f02af3a..c2c050e 100644
--- a/src/utils/updater.ts
+++ b/src/utils/updater.ts
@@ -1,7 +1,7 @@
import IpcEvents from "./IpcEvents";
import Logger from "./logger";
-import { IpcRes } from './types';
-import gitHash from 'git-hash';
+import { IpcRes } from "./types";
+import gitHash from "git-hash";
export const UpdateLogger = new Logger("Updater", "white");
export let isOutdated = false;