Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add app wide window title

dominik-zeglen5ea56bacb843
diff --git a/saleor/static/dashboard-next/index.tsx b/saleor/static/dashboard-next/index.tsx
index ffcadfb2de..09727fe1c7 100644
--- a/saleor/static/dashboard-next/index.tsx
+++ b/saleor/static/dashboard-next/index.tsx
@@ -22,10 +22,11 @@ import { DateProvider } from "./components/DateFormatter";
import { LocaleProvider } from "./components/Locale";
import { MessageManager } from "./components/messages";
import { ShopProvider } from "./components/Shop";
+import { WindowTitle } from "./components/WindowTitle";
import ConfigurationSection, { configurationMenu } from "./configuration";
import { CustomerSection } from "./customers";
import HomePage from "./home";
-import "./i18n";
+import i18n from "./i18n";
import { NotFound } from "./NotFound";
import OrdersSection from "./orders";
import PageSection from "./pages";
@@ -95,6 +96,7 @@ render(
<MessageManager>
<ShopProvider>
<CssBaseline />
+ <WindowTitle title={i18n.t("Dashboard")} />
<AuthProvider>
{({
hasToken,