plugins: cleanup unnecessary use of compatWrapper

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-11-23 00:51:55 +01:00
parent 358c6f7021
commit d02db50b42
19 changed files with 186 additions and 235 deletions
+3 -4
View File
@@ -23,7 +23,6 @@ import {
} from '@backstage/frontend-plugin-api';
import { rootRouteRef } from './routes';
import {
compatWrapper,
convertLegacyRouteRef,
convertLegacyRouteRefs,
} from '@backstage/core-compat-api';
@@ -34,9 +33,9 @@ const page = PageBlueprint.make({
path: '/notifications',
routeRef: convertLegacyRouteRef(rootRouteRef),
loader: () =>
import('./components/NotificationsPage').then(m =>
compatWrapper(<m.NotificationsPage />),
),
import('./components/NotificationsPage').then(m => (
<m.NotificationsPage />
)),
},
});