fix deprecate message

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
This commit is contained in:
Juan Pablo Garcia Ripa
2022-06-02 17:38:58 +02:00
parent c9f7595c62
commit 1cf9caecd6
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
fix Sidebar Contexts deprecation message
@@ -59,7 +59,7 @@ const defaultSidebarOpenStateContext = {
* Context whether the `Sidebar` is open
*
* @public @deprecated
* Use `<SidebarContextProvider>` + `useSidebar()` instead.
* Use `<SidebarOpenStateProvider>` + `useSidebarOpenState()` instead.
*/
export const LegacySidebarContext = createContext<SidebarContextType>(
defaultSidebarOpenStateContext,