mirror of
https://github.com/ryan-haskell/elm-spa.git
synced 2024-08-17 00:10:27 +03:00
adding-a-sign-in-page: fix wrong sig
Plus I added a little hint for beginners (concrete vs unbound type variables confused me when I looked at elm-spa the first time)
This commit is contained in:
parent
6db2fcd505
commit
c7f7c4d5a9
@ -230,8 +230,9 @@ update msg model =
|
||||
|
||||
```elm
|
||||
-- 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 =
|
||||
{ title = "Sign In"
|
||||
, body =
|
||||
|
Loading…
Reference in New Issue
Block a user