cargo check all

This commit is contained in:
Jonathan Kelley committed 2024-01-23 16:58:29 -08:00
1 parent a5e61b0765
commit c0522bc152
10 files changed
+123 -329

No files matched your search

@@ -13,7 +13,7 @@ use crate::prelude::*;
pub(crate) fn use_router_internal() -> Option<RouterContext> {
let router = use_hook(consume_context::<RouterContext>);
let id = current_scope_id().expect("use_router_internal called outside of a component");
use_on_destroy({
use_drop({
to_owned![router];
move || {
router.unsubscribe(id);