web: address lint

This commit is contained in:
Bill Thiede 2024-09-01 16:17:27 -07:00
parent 7786f850d1
commit f887c15b46

View File

@ -144,7 +144,10 @@ pub fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders<Msg>) {
orders.perform_cmd(async move { on_url_changed(subs::UrlChanged(Url::current())) });
}
Msg::Reload => {
window().location().reload();
window()
.location()
.reload()
.expect("failed to reload window");
}
Msg::OnResize => (),