Skip to content

Commit 3463716

Browse files
committed
Shift leetcode dashboard to landing page
1 parent 4da97d6 commit 3463716

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
File renamed without changes.

frontend/src/app/(auth)/page.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
import { useAuth } from "@/components/auth/AuthContext";
44
import LandingPage from "./components/landing-page/LandingPage";
5-
import Dashboard from "./components/dashboard/Dashboard";
5+
// import Dashboard from "./components/dashboard/Dashboard";
6+
import LeetcodeDashboard from "./leetcode-dashboard/LeetcodeDashboard";
67

78
const Home = () => {
89
const { token } = useAuth();
910

1011
return (
11-
token ? <Dashboard/> : <LandingPage/>
12+
token ? <LeetcodeDashboard/> : <LandingPage/>
1213
);
1314
};
1415

0 commit comments

Comments
 (0)