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:
Benjamin Thomas 2021-12-04 11:01:47 +01:00 committed by GitHub
parent 6db2fcd505
commit c7f7c4d5a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 =