Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Fix: collapase sidebar on app page
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Feb 27, 2023
1 parent 64168a1 commit b47e519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/PageLayout/SideDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type SideDrawerProps = {
}

const isSafeAppFrameRoute = (pathname: string, query: ParsedUrlQuery): boolean => {
return pathname === AppRoutes.apps.index && !!query.appUrl
return pathname === AppRoutes.apps.open && !!query.appUrl
}

const SideDrawer = ({ isOpen, onToggle }: SideDrawerProps): ReactElement => {
Expand Down

0 comments on commit b47e519

Please sign in to comment.