From 38e38a92dc5fb80c8a504455becae5a587cf2182 Mon Sep 17 00:00:00 2001 From: John Rees Date: Fri, 4 Sep 2020 11:30:01 +0100 Subject: [PATCH] Fix typo in README example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index afd9cd3c..b2dc629a 100644 --- a/README.md +++ b/README.md @@ -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') })