Merge pull request #81 from atomkirk/patch-1

Update 03-pages.md
This commit is contained in:
Ryan Haskell-Glatz 2021-05-08 11:54:08 -05:00 committed by GitHub
commit 4f23cc588d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,15 +243,16 @@ Page.sandbox
} }
-- protected -- protected
Page.protected.sandbox Page.protected.sandbox :
{ init : User -> Model User ->
, update : User -> Msg -> Model -> Model { init : Model
, view : User -> Model -> View Msg , 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). 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) __Next up:__ [Requests](./04-requests)