mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
MVP systeme de zone quadrillage
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
import { useEffect, useState } from "react";
|
||||
import BlueButton, { GreenButton, RedButton } from "../util/button";
|
||||
import { EditMode, ZonePicker } from "./mapPicker";
|
||||
import TextInput from "../util/textInput";
|
||||
import useAdmin from "@/hook/useAdmin";
|
||||
import { ZoneInitializer } from "./maps";
|
||||
|
||||
export function ZoneSelector() {
|
||||
|
||||
@@ -10,8 +6,7 @@ export function ZoneSelector() {
|
||||
return <div className='w-2/5 h-full gap-1 bg-white p-10 flex flex-col text-center shadow-2xl overflow-y-scroll'>
|
||||
<h2 className="text-2xl">Edit zones</h2>
|
||||
<div className='h-96'>
|
||||
<ZonePicker />
|
||||
<ZoneInitializer />
|
||||
</div>
|
||||
<GreenButton >Apply</GreenButton>
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user