Skip to content

Commit c0eaf24

Browse files
committed
Only show leetcode dashboard, and no landing page and no login
1 parent e8d0c6c commit c0eaf24

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
"use client";
22

3-
import { useAuth } from "@/components/auth/AuthContext";
4-
import LandingPage from "./components/landing-page/LandingPage";
3+
// import { useAuth } from "@/components/auth/AuthContext";
4+
// import LandingPage from "./components/landing-page/LandingPage";
55
// import Dashboard from "./components/dashboard/Dashboard";
66
import LeetcodeDashboard from "./leetcode-dashboard/LeetcodeDashboard";
77

88
const Home = () => {
9-
const { token } = useAuth();
9+
// const { token } = useAuth();
1010

11-
return (
12-
token ? <LeetcodeDashboard/> : <LandingPage/>
13-
);
11+
// return (
12+
// token ? <LeetcodeDashboard/> : <LandingPage/>
13+
// );
14+
15+
return <LeetcodeDashboard />;
1416
};
1517

1618
export default Home;

0 commit comments

Comments
 (0)