web: address lint
This commit is contained in:
parent
7786f850d1
commit
f887c15b46
@ -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 => (),
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user