diff --git a/frontend/app/components/shared/SessionsTabOverview/components/SessionList/SessionList.tsx b/frontend/app/components/shared/SessionsTabOverview/components/SessionList/SessionList.tsx index 2a99dbff1..e02cb9246 100644 --- a/frontend/app/components/shared/SessionsTabOverview/components/SessionList/SessionList.tsx +++ b/frontend/app/components/shared/SessionsTabOverview/components/SessionList/SessionList.tsx @@ -1,4 +1,4 @@ - import React, { useEffect } from 'react'; +import React, { useEffect } from 'react'; import { FilterKey } from 'Types/filter/filterType'; import SessionItem from 'Shared/SessionItem'; import { NoContent, Loader, Pagination, Icon } from 'UI'; @@ -25,7 +25,6 @@ const STATUS_FREQUENCY = 5000; function SessionList() { const location = useLocation(); // Get the current URL location - const isSessionsRoute = location.pathname.includes('/sessions'); const isBookmark = location.pathname.includes('/bookmarks'); const { projectsStore, sessionStore, customFieldStore, userStore, searchStore } = useStore(); @@ -43,7 +42,6 @@ function SessionList() { const _filterKeys = filters.map((i: any) => i.key); const hasUserFilter = _filterKeys.includes(FilterKey.USERID) || _filterKeys.includes(FilterKey.USERANONYMOUSID); - // const isBookmark = activeTab.type === 'bookmark'; const isVault = isBookmark && isEnterprise; const activeSite = projectsStore.active; const hasNoRecordings = !activeSite || !activeSite.recorded; @@ -134,7 +132,7 @@ function SessionList() { return; } - sessionTimeOut = setTimeout(function() { + sessionTimeOut = setTimeout(function () { if (!document.hidden) { searchStore.checkForLatestSessions(); } @@ -170,7 +168,7 @@ function SessionList() { title={
- +