adjust profile grid and header title

This commit is contained in:
Zamitto 2024-06-18 22:25:42 -03:00
parent 1eef86a40c
commit 634fc61c09
2 changed files with 2 additions and 2 deletions

View file

@ -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]);

View file

@ -207,7 +207,7 @@ export function UserContent({
<div
style={{
display: "grid",
gridTemplateColumns: "auto auto auto",
gridTemplateColumns: "1fr 1fr 1fr",
gap: `${SPACING_UNIT}px`,
}}
>