Skip to content

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

Fix theme switching

dominik-zeglen8f82e4ecfdd5
diff --git a/saleor/static/dashboard-next/components/WindowTitle/index.tsx b/saleor/static/dashboard-next/components/WindowTitle/index.tsx
index 2138ce6bb6..b7757cd596 100644
--- a/saleor/static/dashboard-next/components/WindowTitle/index.tsx
+++ b/saleor/static/dashboard-next/components/WindowTitle/index.tsx
@@ -13,8 +13,6 @@ export const WindowTitle: React.StatelessComponent<WindowTitleProps> = ({
const shop = useShop();
return shop === undefined || !title ? null : (
- <Helmet>
- <title>{`${title} | ${shop.name}`}</title>
- </Helmet>
+ <Helmet title={`${title} | ${shop.name}`} />
);
};