Skip to content

Commit

Permalink
chore(README): fix the OnSubmit pattern in update
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienMP authored May 10, 2023
1 parent 84e08ff commit 8a33f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ init flags =
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
OnSubmit { parsed } ->
OnSubmit parsed ->
case parsed of
Form.Valid signUpData ->
( { model | submitting = True }
Expand Down

0 comments on commit 8a33f80

Please sign in to comment.