https://gren-lang.org/book/applications/nested-tea/ The Clicker view returns a Document but Main is treating it as Html. The simplest fix would be for `Pages.Clicker.view` to return Html instead of a Document.