diff --git a/examples/basic/.perseus/src/lib.rs b/examples/basic/.perseus/src/lib.rs index 52d5401de7..81a1280f1f 100644 --- a/examples/basic/.perseus/src/lib.rs +++ b/examples/basic/.perseus/src/lib.rs @@ -100,7 +100,7 @@ pub fn run() -> Result<(), JsValue> { // Right now, we don't provide translators to any error pages that have come from the server error_pages.hydrate_page(&url, &status, &err, None, &container_rx_elem); } else { - get_error_pages::().get_template_for_page("", &404, "not found", None); + error_pages.hydrate_page("", &404, "not found", None, &container_rx_elem); } }, };