This commit is contained in:
PxlLoewe
2025-07-04 08:52:40 -07:00
parent 7c050cf42e
commit bb893c9b1e
5 changed files with 4533 additions and 18 deletions

View File

@@ -23,7 +23,7 @@ export const StationForm = ({ station }: { station?: Station }) => {
<form
onSubmit={form.handleSubmit(async (values) => {
setLoading(true);
const createdStation = await upsertStation(values, station?.id);
await upsertStation(values, station?.id);
setLoading(false);
if (!station) redirect(`/admin/station`);
})}