Skip to content

Commit

Permalink
✏️ fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
astoilkov committed Oct 31, 2024
1 parent a77040a commit 3147334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Todos() {
The `removeItem()` method will reset the value to its default and will remove the data from the `IndexedDB`. It returns to the same state as when the hook was initially created.

```tsx
import useLocalStorageState from 'use-local-storage-state'
import useDb from 'use-db'

export default function Todos() {
const [todos, setTodos, removeItem] = useDb('todos', {
Expand Down

0 comments on commit 3147334

Please sign in to comment.