Error boundary

This commit is contained in:
PxlLoewe
2025-03-26 14:04:15 -07:00
parent 9551202370
commit c8d91b684f
21 changed files with 414 additions and 298 deletions

View File

@@ -123,33 +123,35 @@ export const StationForm = ({ station }: { station?: Station }) => {
<span className="label-text text-lg flex items-center gap-2">
Ausgerüstet mit:
</span>
<div className="form-control">
<label className="label cursor-pointer">
<span>Winde</span>
<div className="form-control space-y-2">
<label className="label cursor-pointer flex">
<span className="flex-1 text-left">Winde</span>
<input
type="checkbox"
className="toggle"
{...form.register("hasWinch")}
/>
</label>
<label className="label cursor-pointer">
<span>Nachtsicht Gerät</span>
<label className="label cursor-pointer flex">
<span className="flex-1 text-left">Nachtsicht gerät</span>
<input
type="checkbox"
className="toggle"
{...form.register("hasNvg")}
/>
</label>
<label className="label cursor-pointer">
<span>24-Stunden Einsatzfähig</span>
<label className="label cursor-pointer flex">
<span className="flex-1 text-left">
24-Stunden Einsatzfähig
</span>
<input
type="checkbox"
className="toggle"
{...form.register("is24h")}
/>
</label>
<label className="label cursor-pointer">
<span>Bergetau</span>
<label className="label cursor-pointer flex">
<span className="flex-1 text-left">Bergetau</span>
<input
type="checkbox"
className="toggle"
@@ -176,8 +178,10 @@ export const StationForm = ({ station }: { station?: Station }) => {
type="number"
step="any"
/>
<label className="label cursor-pointer">
<span className="text-lg">Reichweiten ausblenden</span>
<label className="label cursor-pointer flex">
<span className="text-lg flex-1 text-left">
Reichweiten ausblenden
</span>
<input
type="checkbox"
className="toggle"