Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Dec 25, 2023
1 parent 488c5e5 commit bd2041d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ localPorridge.observe('demo', ({ key, newValue }) => {
<summary><strong>IndexedDB</strong></summary>

```ts
idb.observe('demo', ({ key, value }) => {
console.log(`${key} has changed to:`, value);
idb.observe('demo', ({ key, newValue }) => {
console.log(`${key} has changed to:`, newValue);
});
```

Expand Down

0 comments on commit bd2041d

Please sign in to comment.