✅ Ajout des rooms et des items
This commit is contained in:
@@ -3,6 +3,8 @@ import React from "react";
|
||||
import { useAuth } from "../hooks";
|
||||
import { ItemBox } from "../components/item/item";
|
||||
import { DatePicker } from "antd";
|
||||
import { FormCreateItem } from "../components/form/formCreateItem";
|
||||
import { FormCreateRoom } from "../components/form/formCreateRoom";
|
||||
|
||||
export const Home = () => {
|
||||
const { user } = useAuth();
|
||||
@@ -10,6 +12,8 @@ export const Home = () => {
|
||||
return (
|
||||
<div>
|
||||
<h1>Home page</h1>
|
||||
<FormCreateRoom></FormCreateRoom>
|
||||
<FormCreateItem></FormCreateItem>
|
||||
{user && <h2>Hello {user.user.username}</h2>}
|
||||
<DatePicker></DatePicker>
|
||||
<ItemBox
|
||||
|
Reference in New Issue
Block a user