Skip to content

Commit

Permalink
use published mt-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanceras committed Feb 21, 2024
1 parent 378d617 commit c644951
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/sauron-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ log = "0.4"
cfg-if = "1.0"
thiserror = "1.0"
doc-comment = "0.3"
#mt-dom = { version = "0.59.1" }
mt-dom = { path = "../../../mt-dom" }
mt-dom = { version = "0.59.2" }
#mt-dom = { path = "../../../mt-dom" }
#mt-dom = { git = "https://github.com/ivanceras/mt-dom", branch = "master" }
once_cell = "1.8"
serde-wasm-bindgen = "0.5.0"
Expand Down
3 changes: 1 addition & 2 deletions crates/sauron-core/src/dom/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ where
/// Called each time an action is triggered from the view
fn update(&mut self, _msg: MSG) -> Cmd<Self, MSG>;

#[cfg(feature = "pre-diff")]
/// an optimization solution.
/// pre evaluate the expression to determine
/// whether to diff the nodes
Expand Down Expand Up @@ -60,7 +59,7 @@ where
/// Everything that happens in your application is done here.
///
#[cfg(not(feature = "pre-diff"))]
pub trait Application<MSG> : Clone + Sized + 'static
pub trait Application<MSG> : Sized + 'static
where
MSG: 'static,
{
Expand Down

0 comments on commit c644951

Please sign in to comment.