@@ -22,7 +22,7 @@ import {
2222 resolveSupervisorRetryOnTimeout ,
2323} from "@coder-studio/core" ;
2424import { useAtom , useAtomValue , useSetAtom , useStore } from "jotai" ;
25- import { Check , ChevronLeft , ChevronRight } from "lucide-react" ;
25+ import { Check , ChevronRight } from "lucide-react" ;
2626import { useEffect , useId , useRef , useState } from "react" ;
2727import { useNavigate } from "react-router-dom" ;
2828import { localeAtom , themeAtom } from "../../../atoms/app-ui" ;
@@ -38,6 +38,7 @@ import { useTranslation } from "../../../lib/i18n";
3838import { getThemeById , resolveStoredThemeId , THEMES } from "../../../theme" ;
3939import { notificationPreferencesAtom } from "../../notifications/atoms" ;
4040import { MobilePageHeader } from "../../shared/components/mobile-page-header" ;
41+ import { PageHeader } from "../../shared/components/page-header" ;
4142import {
4243 getTerminalFontSizePreference ,
4344 hasExplicitTerminalFontSizeSetting ,
@@ -610,19 +611,13 @@ export function SettingsPage() {
610611 backLabel = { t ( "action.back" ) }
611612 />
612613 ) : (
613- < div className = "settings-header__desktop" >
614- < button
615- type = "button"
616- className = "page-header__back settings-header__back"
617- onClick = { handleBack }
618- >
619- < ChevronLeft size = { 16 } />
620- < span > { t ( "action.back" ) } </ span >
621- </ button >
622- < div className = "settings-header__copy" >
623- < h1 className = "page-title settings-header__title" > { t ( "settings.title" ) } </ h1 >
624- </ div >
625- </ div >
614+ < PageHeader
615+ title = { t ( "settings.title" ) }
616+ titleAs = "h1"
617+ level = "secondary"
618+ onBack = { handleBack }
619+ backLabel = { t ( "action.back" ) }
620+ />
626621 ) }
627622 </ header >
628623
0 commit comments