|
|
|
@ -63,7 +63,7 @@ export function Team() {
|
|
|
|
|
return (
|
|
|
|
|
<div id="team">
|
|
|
|
|
<h2>Mes équipes</h2>
|
|
|
|
|
<button onClick={() => location.pathname="/tactic/new"}>+</button>
|
|
|
|
|
<button className="new" onClick={() => location.pathname="/tactic/new"}>+</button>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
@ -82,7 +82,7 @@ export function Tactic({lastTactics} : { lastTactics : Tactic[]}) {
|
|
|
|
|
<div id="tactic">
|
|
|
|
|
<div id="titreTactic">
|
|
|
|
|
<h2>Mes cinq dernières stratégies</h2>
|
|
|
|
|
<button id="createTactic" onClick={() => (location.pathname = "/tactic/new")}>+</button>
|
|
|
|
|
<button className="new" id="createTactic" onClick={() => (location.pathname = "/tactic/new")}>+</button>
|
|
|
|
|
<ul>
|
|
|
|
|
{listTactic}
|
|
|
|
|
</ul>
|
|
|
|
|