1
0
Jonathan Kelley 3 жил өмнө
parent
commit
e932ed202a

+ 1 - 1
packages/hooks/src/usestate.rs

@@ -336,7 +336,7 @@ fn api_makes_sense() {
         }
 
         cx.spawn({
-            crate::to_owned![set_val];
+            dioxus_core::to_owned![set_val];
             async move {
                 set_val.modify(|f| f + 1);
             }