test tableau
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import React from "react";
|
||||
|
||||
import { useAuth } from "../hooks";
|
||||
import { DatePicker } from "antd";
|
||||
import { FormCreateItem } from "../components/form/formCreateItem";
|
||||
import { FormCreateRoom } from "../components/form/formCreateRoom";
|
||||
import { ItemPage } from "../components/item/ItemPage";
|
||||
|
||||
|
||||
export const Home = () => {
|
||||
const { user } = useAuth();
|
||||
return (
|
||||
@@ -11,23 +13,9 @@ export const Home = () => {
|
||||
|
||||
<h1>Home page</h1>
|
||||
{user && <h2>Hello {user.user.username}</h2>}
|
||||
<ItemPage items={
|
||||
[
|
||||
{
|
||||
brandName:"GlubGlub GabGalab"
|
||||
},{
|
||||
brandName:"GlubGlub GabGalab2"
|
||||
},{
|
||||
brandName:"GlubGlub GabGalab"
|
||||
},{
|
||||
brandName:"GlubGlub GabGalab2"
|
||||
},{
|
||||
brandName:"GlubGlub GabGalab"
|
||||
},{
|
||||
brandName:"GlubGlub GabGalab2"
|
||||
}
|
||||
]
|
||||
}></ItemPage>
|
||||
|
||||
<FormCreateRoom></FormCreateRoom>
|
||||
<FormCreateItem></FormCreateItem>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user