From 1e86e67385d09f853d7f88265453765be6bdb448 Mon Sep 17 00:00:00 2001 From: Azhar Ibn Mostafiz Date: Sat, 3 Jul 2021 11:40:39 +0600 Subject: [PATCH] Update 04-authentication.md Fixed SingIn msg input data --- docs/public/content/examples/04-authentication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/public/content/examples/04-authentication.md b/docs/public/content/examples/04-authentication.md index 226cf39..416efcd 100644 --- a/docs/public/content/examples/04-authentication.md +++ b/docs/public/content/examples/04-authentication.md @@ -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) \ No newline at end of file +__Next up:__ [More examples](/examples#more-examples)