diff --git a/apps/frontend/src/app/(core)/page.tsx b/apps/frontend/src/app/(core)/page.tsx index d275c593..b17db4dc 100644 --- a/apps/frontend/src/app/(core)/page.tsx +++ b/apps/frontend/src/app/(core)/page.tsx @@ -1,24 +1,14 @@ import { DashboardView } from '@/components/DashboardView'; -import { isMobile } from '@/utils/isMobile'; import type { Metadata } from 'next'; -import { headers } from 'next/headers'; export const metadata: Metadata = { title: { absolute: 'Swaylend | Lending reimagined' }, }; export default function Home() { - const userAgent = headers().get('user-agent') || ''; - const mobile = isMobile(userAgent); return (
- {mobile ? ( -
- This page is not available on mobile devices. -
- ) : ( - - )} +
); } diff --git a/apps/frontend/src/components/LeaderboardView/index.tsx b/apps/frontend/src/components/LeaderboardView/index.tsx index 3239f4d5..34359fc7 100644 --- a/apps/frontend/src/components/LeaderboardView/index.tsx +++ b/apps/frontend/src/components/LeaderboardView/index.tsx @@ -97,9 +97,6 @@ export const LeaderboardView = () => { - {/*
- This page is not supported on this screen size. -
*/} ); }; diff --git a/apps/frontend/src/components/Navbar/index.tsx b/apps/frontend/src/components/Navbar/index.tsx index c80324ec..a28b2347 100644 --- a/apps/frontend/src/components/Navbar/index.tsx +++ b/apps/frontend/src/components/Navbar/index.tsx @@ -215,7 +215,7 @@ export const Navbar = ({ mobile = false }: { mobile?: boolean }) => {
- {!mobile && } +