diff --git a/components/Settings.tsx b/components/Settings.tsx index b1ce7f14..70f5af3e 100644 --- a/components/Settings.tsx +++ b/components/Settings.tsx @@ -1,4 +1,4 @@ -import Link from 'next/link'; +import Link from "next/link"; import { CreditCardIcon, UserIcon, CodeIcon, KeyIcon, UserGroupIcon } from "@heroicons/react/solid"; import { useRouter } from "next/router"; @@ -10,60 +10,59 @@ export default function SettingsShell(props) { const router = useRouter(); const tabs = [ - { name: "Profile", href: "/settings/profile", icon: UserIcon, current: router.pathname == "/settings/profile" }, - { name: "Password", href: "/settings/password", icon: KeyIcon, current: router.pathname == "/settings/password" }, + { + name: "Profile", + href: "/settings/profile", + icon: UserIcon, + current: router.pathname == "/settings/profile", + }, + { + name: "Password", + href: "/settings/password", + icon: KeyIcon, + current: router.pathname == "/settings/password", + }, { name: "Embed", href: "/settings/embed", icon: CodeIcon, current: router.pathname == "/settings/embed" }, - { name: "Teams", href: "/settings/teams", icon: UserGroupIcon, current: router.pathname == "/settings/teams" }, - { name: "Billing", href: "/settings/billing", icon: CreditCardIcon, current: router.pathname == "/settings/billing" }, + { + name: "Teams", + href: "/settings/teams", + icon: UserGroupIcon, + current: router.pathname == "/settings/teams", + }, + { + name: "Billing", + href: "/settings/billing", + icon: CreditCardIcon, + current: router.pathname == "/settings/billing", + }, ]; return (
Cancel, update credit card or change plan
-