From 98405db9ff78dcee7d9f929c94a3d650f91b125e Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Fri, 7 Feb 2025 10:12:49 +0100 Subject: [PATCH] fix(ui): activeTab check crashing --- .../shared/SessionsTabOverview/SessionsTabOverview.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/app/components/shared/SessionsTabOverview/SessionsTabOverview.tsx b/frontend/app/components/shared/SessionsTabOverview/SessionsTabOverview.tsx index c15a9215f..a40862c7e 100644 --- a/frontend/app/components/shared/SessionsTabOverview/SessionsTabOverview.tsx +++ b/frontend/app/components/shared/SessionsTabOverview/SessionsTabOverview.tsx @@ -16,7 +16,6 @@ function SessionsTabOverview() { const [query, setQuery] = React.useState(''); const { aiFiltersStore, searchStore } = useStore(); const appliedFilter = searchStore.instance; - const activeTab = searchStore.activeTab; usePageTitle('Sessions - OpenReplay'); const handleKeyDown = (event: any) => { @@ -45,7 +44,7 @@ function SessionsTabOverview() { placeholder={'ask session ai'} /> ) : null} - {activeTab.type !== 'bookmarks' && } +