diff --git a/libs/components/src/lib/components/ChannelSetting/Component/CategoryChannel/index.tsx b/libs/components/src/lib/components/ChannelSetting/Component/CategoryChannel/index.tsx index 712afad13a..a2f8134699 100644 --- a/libs/components/src/lib/components/ChannelSetting/Component/CategoryChannel/index.tsx +++ b/libs/components/src/lib/components/ChannelSetting/Component/CategoryChannel/index.tsx @@ -2,7 +2,7 @@ import { useAppNavigation } from '@mezon/core'; import type { CategoriesEntity, IUpdateChannelRequest } from '@mezon/store'; import { channelsActions, selectAllCategories, selectChannelById, useAppDispatch, useAppSelector } from '@mezon/store'; import { Icons, Menu } from '@mezon/ui'; -import type { IChannel } from '@mezon/utils'; +import { generateE2eId, type IChannel } from '@mezon/utils'; import type { ReactElement } from 'react'; import { useCallback, useMemo } from 'react'; import { useTranslation } from 'react-i18next'; @@ -81,8 +81,11 @@ const SettingCategoryChannel = (props: CategoryChannelProps) => {
{t('categoryManagement.category')}