File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,6 @@ const SidebarMenuItem = ({
35
35
} ;
36
36
37
37
const sidebarItems : SidebarMenuItemProps [ ] = [
38
- {
39
- menuLabel : "Home" ,
40
- menuIcon : MdHomeFilled ,
41
- linksTo : "/" ,
42
- } ,
43
- {
44
- menuLabel : "Profile" ,
45
- menuIcon : CgProfile ,
46
- linksTo : "/profile" ,
47
- } ,
48
38
{
49
39
menuLabel : "Find Match" ,
50
40
menuIcon : IoMdSearch ,
@@ -55,6 +45,11 @@ const sidebarItems: SidebarMenuItemProps[] = [
55
45
menuIcon : FaCode ,
56
46
linksTo : "/leetcode-dashboard" ,
57
47
} ,
48
+ {
49
+ menuLabel : "Profile" ,
50
+ menuIcon : CgProfile ,
51
+ linksTo : "/profile" ,
52
+ } ,
58
53
] ;
59
54
60
55
const menuItemStyles : MenuItemStyles = {
Original file line number Diff line number Diff line change 3
3
import Navbar from "@/app/(auth)/home/components/navbar/Navbar" ;
4
4
import LandingPage from "@/app/(auth)/home/components/landing-page/LandingPage" ;
5
5
import { getToken } from "@/api/user" ;
6
- import AuthDashboard from "./components/dashboard/Dashboard" ;
7
6
import { useEffect , useState } from "react" ;
7
+ import FindPeer from "@/app/(auth)/match/page" ;
8
8
9
9
const Home = ( ) => {
10
10
const [ userToken , setUserToken ] = useState < string | null > ( null ) ;
@@ -16,7 +16,7 @@ const Home = () => {
16
16
} , [ ] ) ;
17
17
18
18
return ! ! userToken ? (
19
- < AuthDashboard />
19
+ < FindPeer />
20
20
) : (
21
21
< >
22
22
< Navbar />
You can’t perform that action at this time.
0 commit comments