diff --git a/thaw/src/code/mod.rs b/thaw/src/code/mod.rs
index 9d2b445..c892fcd 100644
--- a/thaw/src/code/mod.rs
+++ b/thaw/src/code/mod.rs
@@ -1,4 +1,4 @@
-use leptos::*;
+use leptos::prelude::*;
use thaw_utils::{class_list, mount_style, OptionalProp};
#[component]
@@ -14,9 +14,9 @@ pub fn Code(
]>
{if let Some(inner_html) = inner_html {
- view! {
}.into()
+ view! {
}.into_any().into()
} else if let Some(text) = text {
- view! {
{text}
}.into()
+ view! {
{text}
}.into_any().into()
} else {
None
}}
diff --git a/thaw/src/color_picker/mod.rs b/thaw/src/color_picker/mod.rs
index 9ddbca3..e510f81 100644
--- a/thaw/src/color_picker/mod.rs
+++ b/thaw/src/color_picker/mod.rs
@@ -4,7 +4,7 @@ pub use color::*;
use crate::ConfigInjection;
use leptos::leptos_dom::helpers::WindowListenerHandle;
-use leptos::*;
+use leptos::{ev, html, prelude::*};
use palette::{Hsv, IntoColor, Srgb};
use thaw_components::{Binder, CSSTransition, Follower, FollowerPlacement};
use thaw_utils::{class_list, mount_style, Model, OptionalProp};
@@ -114,8 +114,8 @@ pub fn ColorPicker(
if current_el == *body {
break;
};
- if current_el == ***popover_ref.get().unwrap()
- || current_el == ***trigger_ref.get().unwrap()
+ if current_el == popover_ref.get().unwrap()
+ || current_el == trigger_ref.get().unwrap()
{
return;
}
@@ -131,7 +131,7 @@ pub fn ColorPicker(
{move || label.get()}
@@ -147,7 +147,7 @@ pub fn ColorPicker(
>
@@ -210,7 +210,7 @@ fn ColorPanel(hue: ReadSignal
, sv: RwSignal<(f32, f32)>) -> impl IntoView {
};
view! {
-
+
) -> impl IntoView {
});
};
view! {
-
+