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}
|
variants={navIconVariants}
|
||||||
className="pr-5 lg:pr-0 lg:pt-3 lg:pb-3"
|
className="pr-5 lg:pr-0 lg:pt-3 lg:pb-3"
|
||||||
>
|
>
|
||||||
<ActiveLink href="/dashboard/ranking">
|
<ActiveLink href="/ranking">
|
||||||
<RankingIcon />
|
<RankingIcon />
|
||||||
</ActiveLink>
|
</ActiveLink>
|
||||||
</m.div>
|
</m.div>
|
||||||
|
|
|
@ -8,7 +8,6 @@ import {
|
||||||
import Head from "next/head";
|
import Head from "next/head";
|
||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
import NavBar from "../components/dashboard/NavBar";
|
import NavBar from "../components/dashboard/NavBar";
|
||||||
import { NavTemplate } from "./NavTemplates";
|
|
||||||
|
|
||||||
interface DashLayoutProps {
|
interface DashLayoutProps {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue