From 634fc61c09b67c1cd4400dcfeca5dcf5ce971eb3 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Tue, 18 Jun 2024 22:25:42 -0300 Subject: [PATCH] adjust profile grid and header title --- src/renderer/src/components/header/header.tsx | 2 +- src/renderer/src/pages/user/user-content.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/header/header.tsx b/src/renderer/src/components/header/header.tsx index 8b3ac2fa..d3315098 100644 --- a/src/renderer/src/components/header/header.tsx +++ b/src/renderer/src/components/header/header.tsx @@ -39,7 +39,7 @@ export function Header({ onSearch, onClear, search }: HeaderProps) { const title = useMemo(() => { if (location.pathname.startsWith("/game")) return headerTitle; - if (location.pathname.startsWith("/profile")) return headerTitle; + if (location.pathname.startsWith("/user")) return headerTitle; if (location.pathname.startsWith("/search")) return t("search_results"); return t(pathTitle[location.pathname]); diff --git a/src/renderer/src/pages/user/user-content.tsx b/src/renderer/src/pages/user/user-content.tsx index a0110872..20384cc3 100644 --- a/src/renderer/src/pages/user/user-content.tsx +++ b/src/renderer/src/pages/user/user-content.tsx @@ -207,7 +207,7 @@ export function UserContent({