Fix typo in README example
This commit is contained in:
parent
dadc08597d
commit
38e38a92dc
@ -198,7 +198,7 @@ const ydoc = new Y.Doc()
|
|||||||
|
|
||||||
// this allows you to instantly get the (cached) documents data
|
// this allows you to instantly get the (cached) documents data
|
||||||
const indexeddbProvider = new IndexeddbPersistence('count-demo', ydoc)
|
const indexeddbProvider = new IndexeddbPersistence('count-demo', ydoc)
|
||||||
idbP.whenSynced.then(() => {
|
indexeddbProvider.whenSynced.then(() => {
|
||||||
console.log('loaded data from indexed db')
|
console.log('loaded data from indexed db')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user