From c7f7c4d5a93ff8ec82a0315b8a3409a8c3a69903 Mon Sep 17 00:00:00 2001 From: Benjamin Thomas Date: Sat, 4 Dec 2021 11:01:47 +0100 Subject: [PATCH] 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) --- docs/public/content/examples/04-authentication.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/public/content/examples/04-authentication.md b/docs/public/content/examples/04-authentication.md index 5320623..92e235d 100644 --- a/docs/public/content/examples/04-authentication.md +++ b/docs/public/content/examples/04-authentication.md @@ -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 =