From f5f3aad26aad77c28730d192e2d5216a54ffa4b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar=20Rubio?= Date: Tue, 30 Jan 2024 10:41:19 +0100 Subject: [PATCH] Fix error --- examples/use_storage/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)]