Explorar o código

fix: macro export

Jonathan Kelley %!s(int64=3) %!d(string=hai) anos
pai
achega
e932ed202a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/hooks/src/usestate.rs

+ 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);
             }