Skip to content

Commit e1eae91

Browse files
authored
Wrong import name (possibly a mistake)
1 parent 6543db5 commit e1eae91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sites/docs/src/content/utilities/state-history.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Besides `log`, the returned object contains `undo` and `redo` functionality.
3131
<!-- prettier-ignore -->
3232
```svelte
3333
<script lang="ts">
34-
import { useStateHistory } from "runed";
34+
import { StateHistory } from "runed";
3535
3636
let count = $state(0);
3737
const history = new StateHistory(() => count, (c) => (count = c));

0 commit comments

Comments
 (0)