+ {move || select_name.get()}
{
gen_menu_data().into_iter().map(|data| {
diff --git a/thaw/src/icon/mod.rs b/thaw/src/icon/mod.rs
index d96d795..4562a23 100644
--- a/thaw/src/icon/mod.rs
+++ b/thaw/src/icon/mod.rs
@@ -80,7 +80,7 @@ pub fn Icon(
icon_data.set(Some(icon.data.to_string()));
});
- view! {
+ let svg = view! {
- }
+ };
+
+ svg.inner_html(move || take(icon_data))
}
fn take_signal(signal: RwSignal