From 81d32800f890d6e0eaae449f6066607114a6dd89 Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Fri, 30 Jun 2023 12:46:47 -0700 Subject: [PATCH] fix widget events with form event updates --- packages/rink/src/hooks.rs | 2 +- packages/rink/src/lib.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/rink/src/hooks.rs b/packages/rink/src/hooks.rs index 55a9274aa..8c46d1d44 100644 --- a/packages/rink/src/hooks.rs +++ b/packages/rink/src/hooks.rs @@ -60,7 +60,7 @@ impl EventData { pub struct FormData { pub value: String, - pub values: HashMap, + pub values: HashMap>, pub files: Option, } diff --git a/packages/rink/src/lib.rs b/packages/rink/src/lib.rs index d4e64cc49..22467337a 100644 --- a/packages/rink/src/lib.rs +++ b/packages/rink/src/lib.rs @@ -20,7 +20,6 @@ use std::{ }; use std::{rc::Rc, sync::RwLock}; use style_attributes::StyleModifier; -use taffy::Taffy; pub use taffy::{geometry::Point, prelude::*}; use tokio::select; use tui::{backend::CrosstermBackend, layout::Rect, Terminal};