diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/spec-patchers.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/spec-patchers.tsx index 7bfe35ca90..3c317e72a4 100644 --- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/spec-patchers.tsx +++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/spec-patchers.tsx @@ -557,7 +557,7 @@ export function patchForMobile() { // page configs { const pageConfigIdentifier = ConfigIdentifier('affine:page'); - const prev = di.getFactory(ConfigIdentifier); + const prev = di.getFactory(pageConfigIdentifier); di.override(pageConfigIdentifier, provider => { return {