From b98a2c72adb757c55e7742d00b049aa3763aedc8 Mon Sep 17 00:00:00 2001 From: Adam Kirk Date: Wed, 5 May 2021 15:36:32 -0600 Subject: [PATCH] Update 03-pages.md --- docs/public/content/guide/03-pages.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/public/content/guide/03-pages.md b/docs/public/content/guide/03-pages.md index a3a9820..643a597 100644 --- a/docs/public/content/guide/03-pages.md +++ b/docs/public/content/guide/03-pages.md @@ -243,15 +243,16 @@ Page.sandbox } -- protected -Page.protected.sandbox - { init : User -> Model - , update : User -> Msg -> Model -> Model - , view : User -> Model -> View Msg - } +Page.protected.sandbox : + User -> + { init : Model + , update : Msg -> Model -> Model + , view : Model -> View Msg + } ``` When you are ready for user authentication, you can learn more about using `Page.protected` in the [authentication guide](/examples/04-authentication). --- -__Next up:__ [Requests](./04-requests) \ No newline at end of file +__Next up:__ [Requests](./04-requests)