fixed use_storage example

This commit is contained in:
Maccesch 2024-01-30 11:58:50 +00:00
parent a677eaf877
commit e5383c6c1e

View file

@ -1,6 +1,7 @@
use leptos::*; use leptos::*;
use leptos_use::docs::{demo_or_body, Note}; 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}; use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]