diff --git a/docs/frontend-system/building-apps/08-migrating.md b/docs/frontend-system/building-apps/08-migrating.md index 210d1f824f..a2ef37b5e3 100644 --- a/docs/frontend-system/building-apps/08-migrating.md +++ b/docs/frontend-system/building-apps/08-migrating.md @@ -913,7 +913,7 @@ const app = createApp({ If you are not using the default `` you can install your custom catalog page as an override for now instead, and fully migrate it to the new system later. ```tsx title="in packages/app/src/App.tsx" -/* highlight-remove-start */ +/* highlight-add-start */ const catalogPluginOverride = catalogPlugin.withOverrides({ extensions: [ catalogPlugin.getExtension('page:catalog').override({ @@ -928,13 +928,13 @@ const catalogPluginOverride = catalogPlugin.withOverrides({ }), ], }); -/* highlight-remove-end */ +/* highlight-add-end */ const app = createApp({ - /* highlight-remove-next-line */ - features: [catalogPlugin, convertedOptionsModule, ...convertedRootFeatures], - /* highlight-add-next-line */ features: [ + /* highlight-remove-next-line */ + catalogPlugin, + /* highlight-add-next-line */ catalogPluginOverride, convertedOptionsModule, ...convertedRootFeatures,