Avoid breaking changes

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2022-01-13 10:35:33 +01:00
parent 4ae04a2c2f
commit 2989c82825
15 changed files with 53 additions and 46 deletions
@@ -21,7 +21,7 @@ import {
Header,
Lifecycle,
Page,
SidebarStateContext,
SidebarPinStateContext,
} from '@backstage/core-components';
import { CatalogResultListItem } from '@backstage/plugin-catalog';
import {
@@ -53,7 +53,7 @@ const useStyles = makeStyles((theme: Theme) => ({
const SearchPage = () => {
const classes = useStyles();
const { isMobile } = useContext(SidebarStateContext);
const { isMobile } = useContext(SidebarPinStateContext);
return (
<Page themeId="home">