Update 04-authentication.md

Fixed SingIn msg input data
This commit is contained in:
Azhar Ibn Mostafiz 2021-07-03 11:40:39 +06:00 committed by GitHub
parent b1766bfa57
commit 1e86e67385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ update msg model =
case msg of
ClickedSignIn ->
( model
, Effect.fromShared (Shared.SignIn "Ryan")
, Effect.fromShared (Shared.SignIn { name = "Ryan"} )
)
```
@ -404,4 +404,4 @@ For more explanation of how this works, check out the [Storage example](./03-sto
---
__Next up:__ [More examples](/examples#more-examples)
__Next up:__ [More examples](/examples#more-examples)