remvoe replay from share page

This commit is contained in:
Francis Cao
2026-03-23 15:12:17 -07:00
parent 6cec5f246b
commit 08b2942e10
3 changed files with 1 additions and 10 deletions
@@ -18,7 +18,6 @@ export const SHARE_NAV_ITEMS = [
{ id: 'funnels', label: 'funnels' },
{ id: 'journeys', label: 'journeys' },
{ id: 'retention', label: 'retention' },
{ id: 'replays', label: 'replays' },
],
},
{
@@ -1,7 +1,7 @@
import { Button, Column, Icon, Row, ThemeButton } from '@umami/react-zen';
import { NavMenu } from '@/components/common/NavMenu';
import { useMessages, useNavigation, useShare } from '@/components/hooks';
import { AlignEndHorizontal, Clock, Eye, PanelLeft, Sheet, Tag, User, Video } from '@/components/icons';
import { AlignEndHorizontal, Clock, Eye, PanelLeft, Sheet, Tag, User } from '@/components/icons';
import { LanguageButton } from '@/components/input/LanguageButton';
import { PreferencesButton } from '@/components/input/PreferencesButton';
import { Funnel, Gauge, Lightning, Magnet, Money, Network, Path, Target } from '@/components/svg';
@@ -100,12 +100,6 @@ export function ShareNav({
icon: <Magnet />,
path: renderPath('/retention'),
},
{
id: 'replays',
label: t(labels.replays),
icon: <Video />,
path: renderPath('/replays'),
},
],
},
{
@@ -14,7 +14,6 @@ import { PerformancePage } from '@/app/(main)/websites/[websiteId]/(reports)/per
import { ComparePage } from '@/app/(main)/websites/[websiteId]/compare/ComparePage';
import { EventsPage } from '@/app/(main)/websites/[websiteId]/events/EventsPage';
import { RealtimePage } from '@/app/(main)/websites/[websiteId]/realtime/RealtimePage';
import { ReplaysPage } from '@/app/(main)/websites/[websiteId]/replays/ReplaysPage';
import { SessionsPage } from '@/app/(main)/websites/[websiteId]/sessions/SessionsPage';
import { WebsiteHeader } from '@/app/(main)/websites/[websiteId]/WebsiteHeader';
import { WebsitePage } from '@/app/(main)/websites/[websiteId]/WebsitePage';
@@ -42,7 +41,6 @@ const PAGE_COMPONENTS: Record<string, React.ComponentType<{ websiteId: string }>
funnels: FunnelsPage,
journeys: JourneysPage,
retention: RetentionPage,
replays: ReplaysPage,
utm: UTMPage,
revenue: RevenuePage,
attribution: AttributionPage,