import { logout } from "@/constants/routes/handleAuth" import { getPrimaryLinks, getSecondaryLinks, } from "@/components/MyPages/menuItems" import Divider from "@/components/TempDesignSystem/Divider" import Link from "@/components/TempDesignSystem/Link" import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" import { getIntl } from "@/i18n" import { getLang } from "@/i18n/serverContext" import styles from "./sidebar.module.css" export default async function SidebarMyPages() { const intl = await getIntl() return ( ) } async function PrimaryLinks() { const lang = getLang() const links = await getPrimaryLinks({ lang }) return ( <> ) } async function SecondaryLinks() { const lang = getLang() const links = await getSecondaryLinks({ lang }) const intl = await getIntl() return ( <> ) }