This commit is contained in:
Evan Almloff committed 2023-06-02 12:33:47 -05:00
1 parent 577f99e68c
commit a9307e57e6
23 files changed
+160 -164

No files matched your search

+2 -2
View File
@@ -29,9 +29,9 @@ fn app(cx: Scope) -> Element {
render! {
Router {
config: || RouterConfig::default().on_update(|state|{
(state.current() == Route::Index {}).then(|| {
(state.current() == Route::Index {}).then_some(
NavigationTarget::Internal(Route::Home {})
})
)
})
}
}