dashboard and ranking made separate routes

This commit is contained in:
3zachm 2023-01-19 19:23:27 -08:00
parent 19f9c69ffd
commit b9a892161d
3 changed files with 1 additions and 2 deletions

View file

@ -24,7 +24,7 @@ function NavBar() {
variants={navIconVariants}
className="pr-5 lg:pr-0 lg:pt-3 lg:pb-3"
>
<ActiveLink href="/dashboard/ranking">
<ActiveLink href="/ranking">
<RankingIcon />
</ActiveLink>
</m.div>

View file

@ -8,7 +8,6 @@ import {
import Head from "next/head";
import { useRouter } from "next/router";
import NavBar from "../components/dashboard/NavBar";
import { NavTemplate } from "./NavTemplates";
interface DashLayoutProps {
children: React.ReactNode;