Fix cfg conditions for wasm

This commit is contained in:
Zachary committed 2022-04-28 20:11:56 +02:00
1 parent b53d8b4725
commit cdbdc4c4a2
1 file changed
+2 -2
+2 -2
View File
@@ -6,10 +6,10 @@ pub mod hooks {
#[cfg(feature = "hooks")]
pub use dioxus_hooks::*;
#[cfg(all(target = "wasm", feature = "web"))]
#[cfg(all(target_arch = "wasm32", feature = "web"))]
pub use dioxus_web::use_eval;
#[cfg(all(not(target = "wasm"), feature = "desktop"))]
#[cfg(all(not(target_arch = "wasm32"), feature = "desktop"))]
pub use dioxus_desktop::use_eval;
}