@@ -193,7 +194,7 @@ function Subscription() {
DALL-E
-
{ usage?.dalle }
/
2000
+
{usage?.dalle}
/
2000
diff --git a/app/src/store/subscription.ts b/app/src/store/subscription.ts
index f12e157f..b5b8b856 100644
--- a/app/src/store/subscription.ts
+++ b/app/src/store/subscription.ts
@@ -11,7 +11,7 @@ export const subscriptionSlice = createSlice({
usage: {
gpt4: 0,
dalle: 0,
- }
+ },
},
reducers: {
toggleDialog: (state) => {
@@ -49,8 +49,7 @@ export const isSubscribedSelector = (state: any): boolean =>
state.subscription.is_subscribed;
export const expiredSelector = (state: any): number =>
state.subscription.expired;
-export const usageSelector = (state: any): any =>
- state.subscription.usage;
+export const usageSelector = (state: any): any => state.subscription.usage;
export const refreshSubscription = async (dispatch: AppDispatch) => {
const current = new Date().getTime(); //@ts-ignore
diff --git a/app/src/types/ui.d.ts b/app/src/types/ui.d.ts
index 232a8db9..b5382cda 100644
--- a/app/src/types/ui.d.ts
+++ b/app/src/types/ui.d.ts
@@ -1 +1 @@
-declare module '@radix-ui/react-select-area';
+declare module "@radix-ui/react-select-area";
diff --git a/app/src/utils.ts b/app/src/utils.ts
index 1b935ea0..80622ee4 100644
--- a/app/src/utils.ts
+++ b/app/src/utils.ts
@@ -8,10 +8,9 @@ window.addEventListener("resize", () => {
mobile = isMobile();
});
-
-window.addEventListener('beforeinstallprompt', (e: Event) => {
+window.addEventListener("beforeinstallprompt", (e: Event) => {
// e.preventDefault();
- event = (e as BeforeInstallPromptEvent);
+ event = e as BeforeInstallPromptEvent;
});
export function triggerInstallApp() {