Skip to content

Commit

Permalink
Uncomment iso effect
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessOne1917 committed Jan 13, 2024
1 parent 7d1583a commit 487b356
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/action-form-error-handling/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ fn HomePage() -> impl IntoView {
let do_something_action = Action::<DoSomething, _>::server();
let value = Signal::derive(move || do_something_action.value().get().unwrap_or_else(|| Ok(String::new())));

// Effect::new_isomorphic(move |_| {
// logging::log!("Got value = {:?}", value.get());
// });
Effect::new_isomorphic(move |_| {
logging::log!("Got value = {:?}", value.get());
});

view! {
<h1>"Test the action form!"</h1>
Expand Down

0 comments on commit 487b356

Please sign in to comment.