import type { UserRecord } from "@issue/shared"; import type { ReactNode } from "react"; import Header from "@/components/header"; export function SettingsPageLayout({ title, children }: { title: string; children?: ReactNode }) { const user = JSON.parse(localStorage.getItem("user") || "{}") as UserRecord; return (

{title}

{children}
); }