mirror of
https://github.com/ryannhg/elm-spa.git
synced 2024-11-22 09:44:55 +03:00
Update 04-authentication.md
Fixed SingIn msg input data
This commit is contained in:
parent
b1766bfa57
commit
1e86e67385
@ -224,7 +224,7 @@ update msg model =
|
|||||||
case msg of
|
case msg of
|
||||||
ClickedSignIn ->
|
ClickedSignIn ->
|
||||||
( model
|
( 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user