mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 13:29:02 +08:00
fix: regression on the database and bookmark block (#2737)
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
import { type BlockSuiteFeatureFlags, config } from '@affine/env';
|
||||
|
||||
import type { BlockSuiteWorkspace } from '../shared';
|
||||
|
||||
export function setEditorFlags(blockSuiteWorkspace: BlockSuiteWorkspace) {
|
||||
Object.entries(config.editorFlags).forEach(([key, value]) => {
|
||||
blockSuiteWorkspace.awarenessStore.setFlag(
|
||||
key as keyof BlockSuiteFeatureFlags,
|
||||
value
|
||||
);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user