add missing import (see #174) (#198)

This commit is contained in:
seemawn1981
2025-05-23 21:03:51 +02:00
committed by GitHub
parent 974df8db21
commit 2cbfa7c739

View File

@@ -353,6 +353,8 @@ On the other hand, its the newest API. As of writing this sentence (December
Heres the complete store example. You can find another, more complete example [here](https://github.com/leptos-rs/leptos/blob/main/examples/stores/src/lib.rs), and more discussion in the book [here](../15_global_state.md).
```
use reactive_stores::Store;
#[derive(Store, Debug, Clone)]
pub struct Data {
#[store(key: String = |row| row.key.clone())]