import Link from "next/link"; import router from "next/router"; // helpers import { cn } from "@/helpers/common.helper"; export const PreferencesMobileHeader = () => { const profilePreferenceLinks: Array<{ label: string; href: string; }> = [ { label: "Theme", href: `/profile/preferences/theme`, }, { label: "Email", href: `/profile/preferences/email`, }, ]; return (
{profilePreferenceLinks.map((link, index) => (
{link.label}
))}
); };