mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 13:29:02 +08:00
refactor(editor): remove the legacy common view extension (#12255)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Updated configuration initialization throughout the app by replacing the previous base configuration method with a new one for improved consistency. - Removed an internal extension and adjusted related setup logic to streamline extension management. - Renamed and simplified configuration methods for better clarity and maintainability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ export const EdgelessSnapshot = (props: Props) => {
|
||||
const extensions = useMemo(() => {
|
||||
const manager = getViewManager()
|
||||
.config.init()
|
||||
.common(framework)
|
||||
.foundation(framework)
|
||||
.theme(framework)
|
||||
.database(framework)
|
||||
.linkedDoc(framework).value;
|
||||
|
||||
Reference in New Issue
Block a user