Zone collection + creation

Zone create UI flow
This commit is contained in:
Timothy Armes
2024-10-21 15:19:28 +02:00
parent 1da389a24a
commit 9f12a00030
21 changed files with 431 additions and 90 deletions
@@ -11,7 +11,7 @@ import { useFormContext, useWatch } from "react-hook-form";
import { MapContainer, Marker, TileLayer } from "react-leaflet";
import { mapBoundsAtom } from "@/atoms";
import MapEvents from "@/components/MapEvents";
import { MapEvents } from "@/components/MapEvents";
const center: LatLngLiteral = { lat: 47.0844, lng: 2.3964 };
@@ -59,7 +59,7 @@ const TournamentForm = () => {
} catch (err: unknown) {
console.log(err);
setResponseMessage({
isSuccessful: true,
isSuccessful: false,
message: t("failure"),
});