fixed warp example
This commit is contained in:
1 parent
90a30933ef
commit
39b77cd663
2 files changed
+5
-2
No files matched your search
@@ -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 = []
|
||||
@@ -1,5 +1,3 @@
|
||||
#![cfg(feature = "warp")]
|
||||
|
||||
use dioxus_core::{Element, LazyNodes, Scope};
|
||||
use dioxus_liveview as liveview;
|
||||
use warp::ws::Ws;
|
||||
|
||||
Reference in new issue
Block a user