sidebar page tree

* frontend and backend implementation
This commit is contained in:
Philipinho
2023-10-15 01:01:17 +01:00
parent e4099ad4c5
commit 2689b267cf
40 changed files with 1069 additions and 491 deletions
+3 -1
View File
@@ -2,13 +2,15 @@
import { useAtom } from 'jotai';
import { currentUserAtom } from '@/features/user/atoms/current-user-atom';
import usePage from '@/features/page/hooks/usePage';
export default function HomeB() {
export default function Home() {
const [currentUser] = useAtom(currentUserAtom);
return (
<>
Hello {currentUser && currentUser.user.name}!
</>
);
}