fixed warp example

This commit is contained in:
Ian committed 2022-04-17 11:59:43 -04:00
1 parent 90a30933ef
commit 39b77cd663
2 files changed
+5 -2

No files matched your search

+5
View File
@@ -30,5 +30,10 @@ dioxus-core = { path = "../core", features = ["serialize"] }
# warp
warp = { version = "0.3", optional = true }
[dev-dependencies]
dioxus-liveview = { path = "./", features = ["warp"] }
warp = "0.3"
[features]
default = []
-2
View File
@@ -1,5 +1,3 @@
#![cfg(feature = "warp")]
use dioxus_core::{Element, LazyNodes, Scope};
use dioxus_liveview as liveview;
use warp::ws::Ws;