remove some old manual implementations of helpers

This commit is contained in:
Evan Almloff committed 2024-01-23 11:29:13 -06:00
1 parent 7f93263357
commit 94c0c2e5b9
3 files changed
+44 -33

No files matched your search

+1 -1
View File
@@ -293,7 +293,7 @@ impl RouterContext {
fn change_route(&self) -> Option<ExternalNavigationFailure> {
let self_read = self.inner.read();
if let Some(callback) = &self_read.routing_callback {
let myself = self.clone();
let myself = *self;
let callback = callback.clone();
drop(self_read);
if let Some(new) = callback(myself) {