Fix typo in README example

This commit is contained in:
John Rees 2020-09-04 11:30:01 +01:00 committed by GitHub
parent dadc08597d
commit 38e38a92dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,7 +198,7 @@ const ydoc = new Y.Doc()
// this allows you to instantly get the (cached) documents data
const indexeddbProvider = new IndexeddbPersistence('count-demo', ydoc)
idbP.whenSynced.then(() => {
indexeddbProvider.whenSynced.then(() => {
console.log('loaded data from indexed db')
})