Skip to content

Commit 02c0ce1

Browse files
authored
loginUser → onSubmit comment sync up (#110)
In the Formless 2 → 3 commit, `loginUser` was renamed to `onSubmit`, but the comment was not updated to match.
1 parent 32d5b74 commit 02c0ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Page/Login.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ component = F.formless { liftAction: Eval } mempty $ H.mkComponent
7272
handleQuery :: forall a. F.FormQuery _ _ _ _ a -> H.HalogenM _ _ _ _ _ (Maybe a)
7373
handleQuery = do
7474
let
75-
-- loginUser also handles broadcasting the user changes to subscribed components
75+
-- onSubmit also handles broadcasting the user changes to subscribed components
7676
-- so they receive the up-to-date value (see AppM and the `authenticate` function.)
7777
onSubmit = loginUser >=> case _ of
7878
Nothing ->

0 commit comments

Comments
 (0)