import React from "react"; import { useRouter } from "next/router"; import Link from "next/link"; export const ProfilePreferenceSettingsSidebar = () => { const router = useRouter(); const profilePreferenceLinks: Array<{ label: string; href: string; }> = [ { label: "Theme", href: `/profile/preferences/theme`, }, { label: "Email", href: `/profile/preferences/email`, }, ]; return (