From 7830fbb75fa505dcc4fe047512aa1a806e735068 Mon Sep 17 00:00:00 2001
From: "unleash-bot[bot]" <194219037+unleash-bot[bot]@users.noreply.github.com>
Date: Tue, 29 Jul 2025 15:20:10 +0300
Subject: [PATCH] chore(AI): eventGrouping flag cleanup (#10428)
---
frontend/src/component/events/EventCard/EventCard.tsx | 11 ++---------
frontend/src/interfaces/uiConfig.ts | 1 -
src/lib/types/experimental.ts | 5 -----
src/server-dev.ts | 1 -
4 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/frontend/src/component/events/EventCard/EventCard.tsx b/frontend/src/component/events/EventCard/EventCard.tsx
index 535492dd87..0a9b346ce4 100644
--- a/frontend/src/component/events/EventCard/EventCard.tsx
+++ b/frontend/src/component/events/EventCard/EventCard.tsx
@@ -5,7 +5,6 @@ import { formatDateYMDHMS } from 'utils/formatDate';
import { Link } from 'react-router-dom';
import { styled } from '@mui/material';
import type { EventSchema } from 'openapi';
-import { useUiFlag } from 'hooks/useUiFlag';
import { useLocation } from 'react-router-dom';
interface IEventCardProps {
@@ -74,7 +73,6 @@ export const StyledCodeSection = styled('div')(({ theme }) => ({
const EventCard = ({ entry }: IEventCardProps) => {
const { locationSettings } = useLocationSettings();
- const eventGroupingEnabled = useUiFlag('eventGrouping');
const location = useLocation();
const createdAtFormatted = formatDateYMDHMS(
@@ -94,9 +92,7 @@ const EventCard = ({ entry }: IEventCardProps) => {