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
+2 -3
View File
@@ -69,7 +69,6 @@ import { SearchClient } from './apis';
import { SearchType } from './components/SearchType';
import { UrlUpdater } from './components/SearchPage/SearchPage';
import {
compatWrapper,
convertLegacyRouteRef,
convertLegacyRouteRefs,
} from '@backstage/core-compat-api';
@@ -254,11 +253,11 @@ export const searchPage = PageBlueprint.makeWithOverrides({
);
};
return compatWrapper(
return (
<SearchContextProvider>
<UrlUpdater />
<Component />
</SearchContextProvider>,
</SearchContextProvider>
);
},
});