Skip to content

Commit

Permalink
fix(routing): 🐛 fixed subsequent loads 404s
Browse files Browse the repository at this point in the history
Closes #40.
  • Loading branch information
arctic-hen7 committed Oct 1, 2021
1 parent f815626 commit f8e05da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basic/.perseus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<DomNode>().get_template_for_page("", &404, "not found", None);
error_pages.hydrate_page("", &404, "not found", None, &container_rx_elem);
}
},
};
Expand Down

0 comments on commit f8e05da

Please sign in to comment.