mirror of
https://github.com/ryan-haskell/elm-spa.git
synced 2024-08-16 16:00:48 +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
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user