Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix

Manav Rathi447fa5afad69
diff --git a/web/apps/accounts/src/pages/_app.tsx b/web/apps/accounts/src/pages/_app.tsx
index 6fc0936eaf..fa827cd0a9 100644
--- a/web/apps/accounts/src/pages/_app.tsx
+++ b/web/apps/accounts/src/pages/_app.tsx
@@ -19,7 +19,7 @@ import { THEME_COLOR } from "@ente/shared/themes/constants";
import { CssBaseline, useMediaQuery } from "@mui/material";
import { ThemeProvider } from "@mui/material/styles";
import { t } from "i18next";
-import { AppProps } from "next/app";
+import type { AppProps } from "next/app";
import { useRouter } from "next/router";
import { createContext, useContext, useEffect, useState } from "react";
import "styles/global.css";
@@ -96,9 +96,11 @@ export default function App({ Component, pageProps }: AppProps) {
};
// TODO: This string doesn't actually exist
- const title = isI18nReady
- ? t("title", { context: "accounts" })
- : APP_TITLES.get(APPS.ACCOUNTS);
+ // TODO-PK: Fix ||
+ const title =
+ (isI18nReady
+ ? t("title", { context: "accounts" })
+ : APP_TITLES.get(APPS.ACCOUNTS)) || "Ente Accounts";
return (
<>