docs: fix diff for building apps guide

Signed-off-by: secustor <sebastian@poxhofer.at>
This commit is contained in:
secustor
2025-08-31 22:47:33 +02:00
parent 6bf7c028a8
commit cc1c6f98b6
@@ -913,7 +913,7 @@ const app = createApp({
If you are not using the default `<CatalogIndexPage />` 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,