mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
refactor(editor): remove paragraph service (#11003)
This commit is contained in:
@@ -32,7 +32,7 @@ export function ConfigExtensionFactory<Config extends Record<string, any>>(
|
||||
const identifier = ConfigIdentifier(flavor) as ServiceIdentifier<Config>;
|
||||
const extensionFactory = (config: Config): ExtensionType => ({
|
||||
setup: di => {
|
||||
di.addImpl(ConfigIdentifier(flavor), () => config);
|
||||
di.override(ConfigIdentifier(flavor), () => config);
|
||||
},
|
||||
});
|
||||
extensionFactory.identifier = identifier;
|
||||
|
||||
Reference in New Issue
Block a user