diff --git a/frontend/src/layout/navigation/SideBar/PageButton.tsx b/frontend/src/layout/navigation/SideBar/PageButton.tsx index 10b594b392cb2..9f830376b4693 100644 --- a/frontend/src/layout/navigation/SideBar/PageButton.tsx +++ b/frontend/src/layout/navigation/SideBar/PageButton.tsx @@ -1,11 +1,10 @@ -import { useActions, useValues } from 'kea' +import { useValues } from 'kea' import { LemonButton, LemonButtonProps, SideAction } from 'lib/lemon-ui/LemonButton' import { LemonTag } from 'lib/lemon-ui/LemonTag/LemonTag' import { sceneLogic } from 'scenes/sceneLogic' import { sceneConfigurations } from 'scenes/scenes' import { Scene } from 'scenes/sceneTypes' -import { navigationLogic } from '~/layout/navigation/navigationLogic' import { SidebarChangeNoticeTooltip } from '~/layout/navigation/SideBar/SidebarChangeNotice' import { dashboardsModel } from '~/models/dashboardsModel' @@ -22,7 +21,6 @@ export interface PageButtonProps extends Pick {}} sideAction={{ ...sideAction, 'data-attr': sideAction.identifier @@ -61,7 +59,7 @@ export function PageButton({ title, sideAction, identifier, highlight, ...button status={buttonStatus} active={isActive} data-attr={`menu-item-${identifier.toString().toLowerCase()}`} - onClick={hideSideBarMobile} + onClick={() => {}} sideIcon={null} {...buttonProps} > diff --git a/frontend/src/layout/navigation/navigationLogic.ts b/frontend/src/layout/navigation/navigationLogic.ts index b8c212bffee3b..675598457ed4d 100644 --- a/frontend/src/layout/navigation/navigationLogic.ts +++ b/frontend/src/layout/navigation/navigationLogic.ts @@ -26,7 +26,6 @@ export const navigationLogic = kea([ actions: [eventUsageLogic, ['reportProjectNoticeDismissed']], })), actions({ - hideSideBarMobile: true, openSitePopover: true, closeSitePopover: true, toggleSitePopover: true,