Skip to content

Commit

Permalink
fix: Change tide title
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Apr 2, 2024
1 parent 2389b80 commit 1f895c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/TideForm/TideForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ const TideForm: React.FC<Props> = ({ onSubmit }) => {
bg="white"
name={IS_RISING}
value={formik.values[IS_RISING]}
onChange={formik.handleChange}
onChange={(evt) => {
formik.setFieldValue(
"isRising",
parseInt(evt.target.value)
);
}}
mb={2}
width={24}
>
Expand Down

0 comments on commit 1f895c8

Please sign in to comment.