remove compatWrapper

Signed-off-by: secustor <sebastian@poxhofer.at>
This commit is contained in:
secustor
2026-01-08 23:50:46 +01:00
parent 8cf3f520c9
commit 283c928e11
2 changed files with 4 additions and 8 deletions
+1 -4
View File
@@ -45,8 +45,6 @@ import { convertLegacyPageExtension } from '@backstage/core-compat-api';
import { convertLegacyEntityContentExtension } from '@backstage/plugin-catalog-react/alpha';
import { pluginInfoResolver } from './pluginInfoResolver';
import { appModuleNav } from './modules/appModuleNav';
import devtoolsPlugin from '@backstage/plugin-devtools/alpha';
import { unprocessedEntitiesDevToolsContent } from '@backstage/plugin-catalog-unprocessed-entities/alpha';
/*
@@ -115,7 +113,7 @@ const customHomePageModule = createFrontendModule({
const notFoundErrorPageModule = createFrontendModule({
pluginId: 'app',
extensions: [notFoundErrorPage, unprocessedEntitiesDevToolsContent],
extensions: [notFoundErrorPage],
});
const collectedLegacyPlugins = convertLegacyAppRoot(
@@ -135,7 +133,6 @@ const app = createApp({
notFoundErrorPageModule,
appModuleNav,
customHomePageModule,
devtoolsPlugin,
...collectedLegacyPlugins,
],
advanced: {
@@ -15,7 +15,6 @@
*/
import { DevToolsContentBlueprint } from '@backstage/plugin-devtools-react';
import { compatWrapper } from '@backstage/core-compat-api';
/**
* DevTools content for catalog unprocessed entities.
@@ -28,9 +27,9 @@ export const unprocessedEntitiesDevToolsContent = DevToolsContentBlueprint.make(
path: 'unprocessed-entities',
title: 'Unprocessed Entities',
loader: () =>
import('../components/UnprocessedEntities').then(m =>
compatWrapper(<m.UnprocessedEntitiesContent />),
),
import('../components/UnprocessedEntities').then(m => (
<m.UnprocessedEntitiesContent />
)),
},
},
);