Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove glob

Manav Rathi287add7bb709
diff --git a/web/apps/accounts/src/pages/_app.tsx b/web/apps/accounts/src/pages/_app.tsx
index 4a9ee8542b..707d214923 100644
--- a/web/apps/accounts/src/pages/_app.tsx
+++ b/web/apps/accounts/src/pages/_app.tsx
@@ -15,8 +15,6 @@ import type { AppProps } from "next/app";
import React, { useEffect, useMemo } from "react";
import { AppContext } from "../types/context";
-import "styles/global.css";
-
const App: React.FC<AppProps> = ({ Component, pageProps }) => {
const isI18nReady = useSetupI18n();
const { showMiniDialog, miniDialogProps } = useAttributedMiniDialog();
@@ -27,12 +25,7 @@ const App: React.FC<AppProps> = ({ Component, pageProps }) => {
return () => logUnhandledErrorsAndRejections(false);
}, []);
- const appContext = useMemo(
- () => ({
- showMiniDialog,
- }),
- [showMiniDialog],
- );
+ const appContext = useMemo(() => ({ showMiniDialog }), [showMiniDialog]);
const title = isI18nReady ? t("title_accounts") : staticAppTitle;
diff --git a/web/apps/accounts/src/styles/global.css b/web/apps/accounts/src/styles/global.css
deleted file mode 100644
index b2e9dfc3ba..0000000000
--- a/web/apps/accounts/src/styles/global.css
+++ /dev/null
@@ -1,16 +0,0 @@
-html,
-body {
- min-height: 100vh;
- height: 100vh;
- flex: 1;
- display: flex;
- flex-direction: column;
-}
-
-#__next {
- flex: 1;
- display: flex;
- flex-direction: column;
- min-height: 100vh;
- height: 100vh;
-}