dashboard and ranking made separate routes
This commit is contained in:
parent
19f9c69ffd
commit
b9a892161d
3 changed files with 1 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue