From ea279a17ec4dfe8c7b64ed093b43a992742e5ae0 Mon Sep 17 00:00:00 2001 From: juliajforesti Date: Fri, 20 Dec 2024 16:04:04 -0300 Subject: [PATCH] fix: SidebarItemTemplate casing --- apps/meteor/client/sidebar/RoomList/RoomListRow.tsx | 2 +- ...ItemTemplateWithData.tsx => SidebarItemTemplateWithData.tsx} | 0 apps/meteor/client/sidebar/search/Row.tsx | 2 +- apps/meteor/client/views/room/Sidepanel/hooks/useItemData.tsx | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename apps/meteor/client/sidebar/RoomList/{SideBarItemTemplateWithData.tsx => SidebarItemTemplateWithData.tsx} (100%) diff --git a/apps/meteor/client/sidebar/RoomList/RoomListRow.tsx b/apps/meteor/client/sidebar/RoomList/RoomListRow.tsx index 3c1b2aa2d92f..af4a7f66ffde 100644 --- a/apps/meteor/client/sidebar/RoomList/RoomListRow.tsx +++ b/apps/meteor/client/sidebar/RoomList/RoomListRow.tsx @@ -2,7 +2,7 @@ import type { SubscriptionWithRoom } from '@rocket.chat/ui-contexts'; import type { TFunction } from 'i18next'; import React, { memo, useMemo } from 'react'; -import SidebarItemTemplateWithData from './SideBarItemTemplateWithData'; +import SidebarItemTemplateWithData from './SidebarItemTemplateWithData'; import { useVideoConfAcceptCall, useVideoConfRejectIncomingCall, useVideoConfIncomingCalls } from '../../contexts/VideoConfContext'; import type { useAvatarTemplate } from '../hooks/useAvatarTemplate'; import type { useTemplateByViewMode } from '../hooks/useTemplateByViewMode'; diff --git a/apps/meteor/client/sidebar/RoomList/SideBarItemTemplateWithData.tsx b/apps/meteor/client/sidebar/RoomList/SidebarItemTemplateWithData.tsx similarity index 100% rename from apps/meteor/client/sidebar/RoomList/SideBarItemTemplateWithData.tsx rename to apps/meteor/client/sidebar/RoomList/SidebarItemTemplateWithData.tsx diff --git a/apps/meteor/client/sidebar/search/Row.tsx b/apps/meteor/client/sidebar/search/Row.tsx index 7210b957bb3a..1cd61299dea3 100644 --- a/apps/meteor/client/sidebar/search/Row.tsx +++ b/apps/meteor/client/sidebar/search/Row.tsx @@ -3,7 +3,7 @@ import type { ReactElement } from 'react'; import React, { memo } from 'react'; import UserItem from './UserItem'; -import SidebarItemTemplateWithData from '../RoomList/SideBarItemTemplateWithData'; +import SidebarItemTemplateWithData from '../RoomList/SidebarItemTemplateWithData'; type RowProps = { item: SubscriptionWithRoom; diff --git a/apps/meteor/client/views/room/Sidepanel/hooks/useItemData.tsx b/apps/meteor/client/views/room/Sidepanel/hooks/useItemData.tsx index 117da1a2983a..7428dedccb25 100644 --- a/apps/meteor/client/views/room/Sidepanel/hooks/useItemData.tsx +++ b/apps/meteor/client/views/room/Sidepanel/hooks/useItemData.tsx @@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next'; import { RoomIcon } from '../../../../components/RoomIcon'; import { roomCoordinator } from '../../../../lib/rooms/roomCoordinator'; -import { getMessage } from '../../../../sidebar/RoomList/SideBarItemTemplateWithData'; +import { getMessage } from '../../../../sidebar/RoomList/SidebarItemTemplateWithData'; import { useAvatarTemplate } from '../../../../sidebar/hooks/useAvatarTemplate'; import { useUnreadDisplay } from '../../../../sidebar/hooks/useUnreadDisplay';