Reorganise components

This commit is contained in:
Timothy Armes
2023-09-14 11:35:30 +02:00
parent bff704077c
commit ac467d7c38
21 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -10,8 +10,8 @@ import "leaflet/dist/leaflet.css";
import { useFormContext, useWatch } from "react-hook-form";
import { MapContainer, Marker, TileLayer } from "react-leaflet";
import MapEvents from "@/app/[locale]/components/MapEvents";
import { mapBoundsAtom } from "@/app/atoms";
import MapEvents from "@/components/MapEvents";
const center: LatLngLiteral = { lat: 47.0844, lng: 2.3964 };
@@ -8,14 +8,14 @@ import dynamic from "next/dynamic";
import { FormProvider, useForm } from "react-hook-form";
import { z } from "zod";
import { clearMessage } from "@/app/[locale]/components/InfoMessage";
import InfoMessage from "@/app/[locale]/components/InfoMessage";
import LoadingMap from "@/app/[locale]/components/LoadingMap";
import { DateField } from "@/app/[locale]/components/form/DateField";
import { SelectField } from "@/app/[locale]/components/form/SelectField";
import { SwitchField } from "@/app/[locale]/components/form/SwitchField";
import { TextAreaField } from "@/app/[locale]/components/form/TextAreaField";
import { TextField } from "@/app/[locale]/components/form/TextField";
import { clearMessage } from "@/components/InfoMessage";
import InfoMessage from "@/components/InfoMessage";
import LoadingMap from "@/components/LoadingMap";
import { DateField } from "@/components/form/DateField";
import { SelectField } from "@/components/form/SelectField";
import { SwitchField } from "@/components/form/SwitchField";
import { TextAreaField } from "@/components/form/TextAreaField";
import { TextField } from "@/components/form/TextField";
import { addTournamentSchema } from "@/schemas";
import { TimeControl } from "@/types";
import { trpc } from "@/utils/trpc";