diff --git a/examples/use_storage/src/main.rs b/examples/use_storage/src/main.rs index c1a98fa..0d38d7b 100644 --- a/examples/use_storage/src/main.rs +++ b/examples/use_storage/src/main.rs @@ -1,6 +1,7 @@ use leptos::*; use leptos_use::docs::{demo_or_body, Note}; -use leptos_use::storage::{use_local_storage, JsonCodec}; +use leptos_use::storage::use_local_storage; +use leptos_use::utils::JsonCodec; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]