Merge remote-tracking branch 'origin/feat_player'

This commit is contained in:
Kentai Radiquum 2024-07-29 21:39:37 +05:00
parent bb437fe7ca
commit 25e31a7799
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
62 changed files with 1508 additions and 701 deletions

20
app/App.tsx Normal file
View file

@ -0,0 +1,20 @@
"use client";
import { useUserStore } from "./store/auth";
import { Navbar } from "./components/Navbar/Navbar";
import { Inter } from "next/font/google";
import { useEffect } from "react";
const inter = Inter({ subsets: ["latin"] });
export const App = (props) => {
const userStore = useUserStore((state) => state);
useEffect(() => {
userStore.checkAuth();
}, []);
return (
<body className={`${inter.className} overflow-x-hidden`}>
<Navbar />
{props.children}
</body>
);
};