mirror of
https://github.com/ryannhg/elm-spa.git
synced 2024-11-22 01:32:43 +03:00
Merge pull request #120 from benjamin-thomas/patch-1
adding-a-sign-in-page: fix wrong sig (documentation)
This commit is contained in:
commit
c706697741
@ -230,8 +230,9 @@ update msg model =
|
|||||||
|
|
||||||
```elm
|
```elm
|
||||||
-- Make view show a sign out button
|
-- Make view show a sign out button
|
||||||
|
-- We must return the concrete type `Msg` because we use ClickedSignIn
|
||||||
|
|
||||||
view : Model -> Html msg
|
view : Model -> View Msg
|
||||||
view model =
|
view model =
|
||||||
{ title = "Sign In"
|
{ title = "Sign In"
|
||||||
, body =
|
, body =
|
||||||
|
Loading…
Reference in New Issue
Block a user