diff --git a/docs/public/content/guide/06-views.md b/docs/public/content/guide/06-views.md index 5d80746..aa5d5a3 100644 --- a/docs/public/content/guide/06-views.md +++ b/docs/public/content/guide/06-views.md @@ -76,15 +76,15 @@ map fn view = } ``` -## View.empty +## View.none -When loading between pages, __elm-spa__ also needs a `View.empty` to be specified for your custom `View` type. +When loading between pages, __elm-spa__ also needs a `View.none` to be specified for your custom `View` type. For Elm UI, that is just `Element.none`: ```elm -empty : View msg -empty = +none : View msg +none = { title = "" , element = Element.none }