diff --git a/services/web-ui/src/features/chat/pages/ChatPage/ChatPage.nav.tsx b/services/web-ui/src/features/chat/pages/ChatPage/ChatPage.nav.tsx index 9df8e1b4..bee20f27 100644 --- a/services/web-ui/src/features/chat/pages/ChatPage/ChatPage.nav.tsx +++ b/services/web-ui/src/features/chat/pages/ChatPage/ChatPage.nav.tsx @@ -1,7 +1,7 @@ -import React, { ReactNode } from "react"; +import { ReactElement, ReactNode } from "react"; import { Link as ReactRouterLink } from "react-router-dom"; -import { ArrowBackIosNew } from "@mui/icons-material"; +import { ArrowBack } from "@mui/icons-material"; import { Box, IconButton } from "@mui/material"; import { Nav } from "src/components/nav"; @@ -10,18 +10,16 @@ interface ChatPageNavProps { children: ReactNode; } -export function ChatPageNav({ - children, -}: ChatPageNavProps): React.ReactElement { +export function ChatPageNav({ children }: ChatPageNavProps): ReactElement { const appBarContent = ( - + ); diff --git a/services/web-ui/src/features/settings/pages/AppearancePage/AppearancePage.nav.tsx b/services/web-ui/src/features/settings/pages/AppearancePage/AppearancePage.nav.tsx index 0fee0bcd..f7a01eaf 100644 --- a/services/web-ui/src/features/settings/pages/AppearancePage/AppearancePage.nav.tsx +++ b/services/web-ui/src/features/settings/pages/AppearancePage/AppearancePage.nav.tsx @@ -1,6 +1,9 @@ import { ReactElement, ReactNode } from "react"; +import { Link as ReactRouterLink } from "react-router-dom"; + +import { ArrowBack } from "@mui/icons-material"; +import { Box, IconButton, Typography } from "@mui/material"; -import { NavLayout } from "src/components/layout"; import { Nav } from "src/components/nav"; import { useTranslation } from "src/core/i18n"; @@ -13,11 +16,24 @@ export function AppearancePageNav({ }: AppearancePageNavProps): ReactElement { const { t } = useTranslation("settings"); + const appBarContent = ( + <> + + + + + {t("header")} + + ); return ( -