separation of changesets

Signed-off-by: Emma Indal <emmai@spotify.com>
This commit is contained in:
Emma Indal
2021-12-02 09:51:55 +01:00
parent bac29f1cde
commit 24d2ce03f3
2 changed files with 18 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
---
'@backstage/create-app': minor
---
Search Modal now relies on the Search Context to access state and state setter. If you use the SidebarSearchModal as described in the [getting started documentation](https://backstage.io/docs/features/search/getting-started#using-the-search-modal), make sure to update your code with the SearchContextProvider.
```diff
export const Root = ({ children }: PropsWithChildren<{}>) => (
<SidebarPage>
<Sidebar>
<SidebarLogo />
- <SidebarSearchModal />
+ <SearchContextProvider>
+ <SidebarSearchModal />
+ </SearchContextProvider>
<SidebarDivider />
...
```
-2
View File
@@ -1,7 +1,5 @@
---
'@backstage/plugin-search': minor
'example-app': patch
'@backstage/create-app': patch
---
Search Modal now relies on the Search Context to access state and state setter. If you use the SidebarSearchModal as described in the [getting started documentation](https://backstage.io/docs/features/search/getting-started#using-the-search-modal), make sure to update your code with the SearchContextProvider.