changeset fixup

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
Emma Indal
2022-04-19 09:46:46 +02:00
parent 0b0e1ea916
commit 0f835009a1
+18 -1
View File
@@ -2,4 +2,21 @@
'@backstage/create-app': patch
---
imports `useSearch` hook from new `@backstage/plugin-search-react` package
imports `useSearch` hook from new `@backstage/plugin-search-react` package.
To upgrade existing Apps:
1. Change the import to the following:
`packages/app/src/components/search/SearchPage.tsx`
```diff
import {
...
SearchType,
- useSearch,
} from '@backstage/plugin-search';
+import { useSearch } from '@backstage/plugin-search-react';
```
2. Add `@backstage/plugin-search-react` as a dependency to the app.