From 5a32db06b8ce0e029e48ff90a1eb84a180d9fda9 Mon Sep 17 00:00:00 2001 From: Jonathan Ash Date: Tue, 15 Mar 2022 17:35:19 +0000 Subject: [PATCH] Prettier fixes Signed-off-by: Jonathan Ash --- packages/core-components/src/layout/Sidebar/Bar.tsx | 2 +- packages/core-components/src/layout/Sidebar/MobileSidebar.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core-components/src/layout/Sidebar/Bar.tsx b/packages/core-components/src/layout/Sidebar/Bar.tsx index 025f0e2c3e..c17ea56aef 100644 --- a/packages/core-components/src/layout/Sidebar/Bar.tsx +++ b/packages/core-components/src/layout/Sidebar/Bar.tsx @@ -86,7 +86,7 @@ const useStyles = ({ sidebarConfig }: { sidebarConfig: SidebarConfig }) => }; }, { name: 'BackstageSidebar' }, - ) + ); enum State { Closed, diff --git a/packages/core-components/src/layout/Sidebar/MobileSidebar.tsx b/packages/core-components/src/layout/Sidebar/MobileSidebar.tsx index 8bf5198ea8..2e34eefd54 100644 --- a/packages/core-components/src/layout/Sidebar/MobileSidebar.tsx +++ b/packages/core-components/src/layout/Sidebar/MobileSidebar.tsx @@ -59,7 +59,7 @@ type OverlayMenuProps = { children?: React.ReactNode; }; -const useStyles = ({ sidebarConfig }: { sidebarConfig: SidebarConfig }) => +const useStyles = ({ sidebarConfig }: { sidebarConfig: SidebarConfig }) => makeStyles(theme => { return { root: { @@ -99,7 +99,7 @@ const useStyles = ({ sidebarConfig }: { sidebarConfig: SidebarConfig }) => marginBottom: `${sidebarConfig.mobileSidebarHeight}px`, }, }; - }) + }); const sortSidebarGroupsForPriority = (children: React.ReactElement[]) => orderBy(