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.

fix(mobile): typo of identifier when override config (#8773)

L-Sun81fc9e1aa13e
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 {