Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: use string on origin (#3319)

Alex Yangfbd5b3617049
diff --git a/packages/y-indexeddb/src/index.ts b/packages/y-indexeddb/src/index.ts
index 36cc3c2e24..8c7751286d 100644
--- a/packages/y-indexeddb/src/index.ts
+++ b/packages/y-indexeddb/src/index.ts
@@ -16,8 +16,8 @@ import type {
import { dbVersion, DEFAULT_DB_NAME, upgradeDB } from './shared';
import { tryMigrate } from './utils';
-const indexeddbOrigin = Symbol('indexeddb-provider-origin');
-const snapshotOrigin = Symbol('snapshot-origin');
+const indexeddbOrigin = 'indexeddb-provider-origin';
+const snapshotOrigin = 'snapshot-origin';
let mergeCount = 500;