diff --git a/ee/tabby-ui/app/(dashboard)/activities/components/activity.tsx b/ee/tabby-ui/app/(dashboard)/activities/components/activity.tsx
index b7b8f0e2ef32..719c8ffe34f1 100644
--- a/ee/tabby-ui/app/(dashboard)/activities/components/activity.tsx
+++ b/ee/tabby-ui/app/(dashboard)/activities/components/activity.tsx
@@ -1,11 +1,12 @@
'use client'
import React from 'react'
+import dynamic from 'next/dynamic'
import { capitalize } from 'lodash-es'
import moment from 'moment'
+import momentTimezone from 'moment-timezone'
import { useTheme } from 'next-themes'
import { DateRange } from 'react-day-picker'
-import ReactJson from 'react-json-view'
import { toast } from 'sonner'
import { useQuery } from 'urql'
@@ -19,7 +20,9 @@ import { Card, CardContent } from '@/components/ui/card'
import {
IconChevronLeft,
IconChevronRight,
- IconFileSearch
+ IconFileSearch,
+ IconChevronsDownUp,
+ IconChevronUpDown
} from '@/components/ui/icons'
import {
Select,
@@ -45,6 +48,8 @@ import {
import DateRangePicker from '@/components/date-range-picker'
import LoadingWrapper from '@/components/loading-wrapper'
+const ReactJson = dynamic(() => import('react-json-view'), { ssr: false });
+
const DEFAULT_DATE_RANGE = '-24h'
const KEY_SELECT_ALL = 'all'
@@ -136,7 +141,6 @@ export default function Activity() {
setPage(1)
setQueryVariables({ last: DEFAULT_PAGE_SIZE })
}
-
return (
<>
@@ -145,7 +149,7 @@ export default function Activity() {
{`View raw events generated by team members' activities while interacting with Tabby.`}
- {!fetching && (
+ {members.length > 0 && (