diff --git a/src/node_actions.rs b/src/node_actions.rs index 42bea1b..c978dcb 100644 --- a/src/node_actions.rs +++ b/src/node_actions.rs @@ -124,7 +124,7 @@ pub fn NodesActionsView() -> impl IntoView { context .selecting_nodes .update(|(_, executing, _)| *executing = true); - let selected = context.selecting_nodes.get_untracked().2; + let selected = &context.selecting_nodes.read_untracked().2; let nodes = context .nodes .read_untracked() @@ -178,6 +178,7 @@ pub fn NodesActionsView() -> impl IntoView {