Compare commits

..

No commits in common. "c62bac037f4fc8e9a8611ecc80a9b97622e8a151" and "c33de9d75449c24471218ee611e0ab6fd009f8b4" have entirely different histories.

2 changed files with 0 additions and 8 deletions

View File

@ -1,5 +1,4 @@
[workspace] [workspace]
resolver = "2"
members = [ members = [
"web", "web",
"server", "server",

View File

@ -119,9 +119,6 @@ enum RefreshingState {
// `Msg` describes the different events you can modify state with. // `Msg` describes the different events you can modify state with.
enum Msg { enum Msg {
Noop, Noop,
// Tell the client to refresh its state
Reload,
// Tell the server to update state
RefreshStart, RefreshStart,
RefreshDone(Option<FetchError>), RefreshDone(Option<FetchError>),
SearchRequest { SearchRequest {
@ -152,10 +149,6 @@ fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders<Msg>) {
} else { } else {
RefreshingState::None RefreshingState::None
}; };
orders.perform_cmd(async move { Msg::Reload });
}
Msg::Reload => {
orders.perform_cmd(async move { on_url_changed(subs::UrlChanged(Url::current())) });
} }
Msg::SearchRequest { Msg::SearchRequest {