Better naming of providers, hooks, and types.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2022-05-20 17:51:11 +02:00
parent a907d620fa
commit 37c8f8444c
22 changed files with 144 additions and 101 deletions
@@ -38,7 +38,7 @@ import {
SidebarPage,
SidebarScrollWrapper,
SidebarSpace,
useSidebar,
useSidebarOpenState,
} from '@backstage/core-components';
import MenuIcon from '@material-ui/icons/Menu';
import SearchIcon from '@material-ui/icons/Search';
@@ -60,7 +60,7 @@ const useSidebarLogoStyles = makeStyles({
const SidebarLogo = () => {
const classes = useSidebarLogoStyles();
const { isOpen } = useSidebar();
const { isOpen } = useSidebarOpenState();
return (
<div className={classes.root}>