We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6543db5 commit e1eae91Copy full SHA for e1eae91
sites/docs/src/content/utilities/state-history.md
@@ -31,7 +31,7 @@ Besides `log`, the returned object contains `undo` and `redo` functionality.
31
<!-- prettier-ignore -->
32
```svelte
33
<script lang="ts">
34
- import { useStateHistory } from "runed";
+ import { StateHistory } from "runed";
35
36
let count = $state(0);
37
const history = new StateHistory(() => count, (c) => (count = c));
0 commit comments