diff --git a/web/components/chat/ChatContainer/ChatContainer.tsx b/web/components/chat/ChatContainer/ChatContainer.tsx index 8c29da7cd..7d068d6ce 100644 --- a/web/components/chat/ChatContainer/ChatContainer.tsx +++ b/web/components/chat/ChatContainer/ChatContainer.tsx @@ -1,11 +1,7 @@ import { Virtuoso } from 'react-virtuoso'; import { useState, useMemo, useRef, CSSProperties, FC } from 'react'; import { EditFilled } from '@ant-design/icons'; -import { - ConnectedClientInfoEvent, - MessageType, - NameChangeEvent, -} from '~/interfaces/socket-events'; +import { ConnectedClientInfoEvent, MessageType, NameChangeEvent } from '~/interfaces/socket-events'; import { ChatMessage } from '~/interfaces/chat-message.model'; import { ChatUserMessage } from '~/components/chat/ChatUserMessage/ChatUserMessage'; import { ChatTextField } from '~/components/chat/ChatTextField/ChatTextField'; diff --git a/web/components/ui/Content/Content.tsx b/web/components/ui/Content/Content.tsx index 5352df6b1..b6d03fe15 100644 --- a/web/components/ui/Content/Content.tsx +++ b/web/components/ui/Content/Content.tsx @@ -42,15 +42,21 @@ const { Content: AntContent } = Layout; const Modal = dynamic(() => import('../Modal/Modal').then(mod => mod.Modal)); const BrowserNotifyModal = dynamic(() => - import('~/components/modals/BrowserNotifyModal/BrowserNotifyModal').then(mod => mod.BrowserNotifyModal), + import('~/components/modals/BrowserNotifyModal/BrowserNotifyModal').then( + mod => mod.BrowserNotifyModal, + ), ); const NotifyReminderPopup = dynamic(() => - import('~/components/ui/NotifyReminderPopup/NotifyReminderPopup').then(mod => mod.NotifyReminderPopup), + import('~/components/ui/NotifyReminderPopup/NotifyReminderPopup').then( + mod => mod.NotifyReminderPopup, + ), ); const FollowerCollection = dynamic(() => - import('~/components/ui/followers/FollowerCollection/FollowerCollection').then(mod => mod.FollowerCollection), + import('~/components/ui/followers/FollowerCollection/FollowerCollection').then( + mod => mod.FollowerCollection, + ), ); // We only need to load the chat container here if we're in mobile or narrow