From 40d992fbc09643a68ae27ec52d14f966c7cf3064 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Thu, 16 Jun 2022 10:54:17 +0200 Subject: [PATCH] Improve double-import-message --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 76522a04..ec69a788 100644 --- a/src/index.js +++ b/src/index.js @@ -115,6 +115,6 @@ if (glo[importIdentifier] === true) { * e.g. `struct instanceof GC`. If you imported different versions of Yjs, it is impossible for us to * do the constructor checks anymore - which might break the CRDT algorithm. */ - console.error('Yjs was already imported. This breaks constructor checks and will lead to isssues!') + console.error('Your project imports multiple different versions of Yjs. This breaks constructor checks and will lead to serious issues! Read more under https://github.com/yjs/yjs/blob/main/src/index.js#L107') } glo[importIdentifier] = true