Skip to content

Commit

Permalink
format, eslint
Browse files Browse the repository at this point in the history
Signed-off-by: Max Cao <[email protected]>
  • Loading branch information
maxcao13 committed Mar 31, 2023
1 parent cdf6e21 commit ed6b90e
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/app/AppLayout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -505,16 +505,7 @@ const AppLayout: React.FC<AppLayoutProps> = ({ children }) => {
<AboutCryostatModal isOpen={aboutModalOpen} onClose={handleCloseAboutModal} />
</>
),
[
isNavOpen,
isMobileView,
aboutModalOpen,
HeaderToolbar,
onNavToggleMobile,
handleCloseAboutModal,
onNavToggle,
levelBadge,
]
[isNavOpen, aboutModalOpen, HeaderToolbar, handleCloseAboutModal, onNavToggle, levelBadge]
);

const isActiveRoute = React.useCallback(
Expand Down Expand Up @@ -577,7 +568,7 @@ const AppLayout: React.FC<AppLayoutProps> = ({ children }) => {

const Sidebar = React.useMemo(
() => <PageSidebar theme="dark" nav={Navigation} isNavOpen={isNavOpen} />,
[Navigation, isMobileView, isNavOpen]
[Navigation, isNavOpen]
);

const PageSkipToContent = React.useMemo(
Expand Down

0 comments on commit ed6b90e

Please sign in to comment.