diff options
author | t1enne <t1enne@users.noreply.github.com> | 2022-10-08 08:41:42 +0000 |
---|---|---|
committer | GitHub Action <actions@github.com> | 2022-10-08 08:41:42 +0000 |
commit | c8b5c013effb9ea2641842dab41ceabe077e7175 (patch) | |
tree | b04ac1b91a4d997b4ab9859a43a8cc721394a421 | |
parent | e129392d6d8e139385d06e21aee0d02fe5aa9308 (diff) |
Prettified Code!btrimports
-rw-r--r-- | web/components/chat/ChatContainer/ChatContainer.tsx | 6 | ||||
-rw-r--r-- | web/components/ui/Content/Content.tsx | 12 |
2 files changed, 10 insertions, 8 deletions
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 |