Skip to content

Commit 0af4cb6

Browse files
committed
Fix types in spacetime modal edit
1 parent ad5844a commit 0af4cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csm_web/frontend/src/components/section/SpacetimeEditModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const SpaceTimeEditModal = ({
107107
Day
108108
<select
109109
className="form-select"
110-
onChange={e => setDay(e.target.value)}
110+
onChange={e => setDay(parseInt(e.target.value))}
111111
required={!!isPermanent}
112112
name="day"
113113
disabled={!isPermanent}

0 commit comments

Comments
 (0)