copied the code from the working repo

This commit is contained in:
2024-11-30 16:00:48 +03:00
parent f22b92869b
commit 15ac0cb9b8
148 changed files with 23342 additions and 0 deletions

20
mtucijobsweb/app/page.tsx Normal file
View File

@@ -0,0 +1,20 @@
'use client';
import LoadingPage from '@/fsd/pages/Loading';
import MainPage from '@/fsd/pages/MainPage';
import { useInitData } from '@tma.js/sdk-react';
export default function Home() {
const initData = useInitData(true);
return (
<>
{initData?.user?.id !== undefined ? (
<MainPage id={initData?.user?.id} />
) : (
<LoadingPage />
)}
</>
);
}