diff --git a/front/views/Home.tsx b/front/views/Home.tsx index 2f80322..051d6fd 100644 --- a/front/views/Home.tsx +++ b/front/views/Home.tsx @@ -4,20 +4,8 @@ import "../style/home/home.css" import { Header } from "./template/Header" import { BASE } from "../Constants" import { MainTitle } from "./component/Title" - -interface Tactic { - id: number - name: string - creation_date: string -} - -interface Team { - id: number - name: string - picture: string - main_color: string - second_color: string -} +import { Tactic } from "./model/Tactic" +import { Team } from "./model/Team" export default function Home({ lastTactics, @@ -81,8 +69,8 @@ function SideMenu({ width: width + "%", }}>
) @@ -171,7 +159,7 @@ function BodyPersonalSpace({ allTactics }: { allTactics: Tactic[] }) { ) } -function Team({ teams }: { teams: Team[] }) { +function TeamMenu({ teams }: { teams: Team[] }) { return ({title}
+//