diff --git a/components/forms/ComboForm.jsx b/components/forms/ComboForm.jsx index 2835ce7..8c6c8fe 100644 --- a/components/forms/ComboForm.jsx +++ b/components/forms/ComboForm.jsx @@ -77,7 +77,7 @@ const ComboForm = ({ combo, newCombo = true }) => { const [tricksRef] = useAutoAnimate(); const [form, setForm] = useState({ trickArray: combo.trickArray, - landed: combo.landed || true, + landed: combo.landed, landedAt: getDate(combo.landedAt) || getDate(), }); const [searchString, setSearchString] = useState(''); @@ -225,7 +225,7 @@ const ComboForm = ({ combo, newCombo = true }) => { {searchActive && ( @@ -282,7 +282,7 @@ const ComboForm = ({ combo, newCombo = true }) => { className="group flex cursor-pointer items-center text-start" > - {trick.trick} + {trick.trick} )) )} @@ -293,7 +293,7 @@ const ComboForm = ({ combo, newCombo = true }) => { className="group flex cursor-pointer items-center" > - + Add new {TRICK_TYPES_MODELS[trickType]} diff --git a/components/forms/FlatgroundTrickForm.jsx b/components/forms/FlatgroundTrickForm.jsx index 17474e7..05f00f8 100644 --- a/components/forms/FlatgroundTrickForm.jsx +++ b/components/forms/FlatgroundTrickForm.jsx @@ -27,7 +27,7 @@ const FlatgroundTrickForm = ({ flatgroundTrick, newFlatgroundTrick = true }) => stance: flatgroundTrick.stance, direction: flatgroundTrick.direction, rotation: flatgroundTrick.rotation, - landed: flatgroundTrick.landed || true, + landed: flatgroundTrick.landed, landedAt: getDate(flatgroundTrick.landedAt) || getDate(), }); diff --git a/components/forms/GrindForm.jsx b/components/forms/GrindForm.jsx index 4be8d87..91cfe29 100644 --- a/components/forms/GrindForm.jsx +++ b/components/forms/GrindForm.jsx @@ -26,7 +26,7 @@ function GrindForm({ grind, newGrind = true }) { preferred_stance: grind.preferred_stance, stance: grind.stance, direction: grind.direction, - landed: grind.landed || true, + landed: grind.landed, landedAt: getDate(grind.landedAt) || getDate(), }); diff --git a/components/forms/ManualForm.jsx b/components/forms/ManualForm.jsx index dd5ac12..8607ba6 100644 --- a/components/forms/ManualForm.jsx +++ b/components/forms/ManualForm.jsx @@ -18,7 +18,7 @@ const ManualForm = ({ manual, newManual = true }) => { const [form, setForm] = useState({ preferred_stance: manual.preferred_stance, type: manual.type, - landed: manual.landed || true, + landed: manual.landed, landedAt: getDate(manual.landedAt) || getDate(), });