No longer lazy load followers
This commit is contained in:
@@ -33,6 +33,7 @@ import { ContentHeader } from '../../common/ContentHeader/ContentHeader';
|
|||||||
import { ServerStatus } from '../../../interfaces/server-status.model';
|
import { ServerStatus } from '../../../interfaces/server-status.model';
|
||||||
import { Statusbar } from '../Statusbar/Statusbar';
|
import { Statusbar } from '../Statusbar/Statusbar';
|
||||||
import { ChatMessage } from '../../../interfaces/chat-message.model';
|
import { ChatMessage } from '../../../interfaces/chat-message.model';
|
||||||
|
import { FollowerCollection } from '../followers/FollowerCollection/FollowerCollection';
|
||||||
|
|
||||||
const { Content: AntContent } = Layout;
|
const { Content: AntContent } = Layout;
|
||||||
|
|
||||||
@@ -48,10 +49,6 @@ const NotifyReminderPopup = dynamic(() =>
|
|||||||
import('../NotifyReminderPopup/NotifyReminderPopup').then(mod => mod.NotifyReminderPopup),
|
import('../NotifyReminderPopup/NotifyReminderPopup').then(mod => mod.NotifyReminderPopup),
|
||||||
);
|
);
|
||||||
|
|
||||||
const FollowerCollection = dynamic(() =>
|
|
||||||
import('../followers/FollowerCollection/FollowerCollection').then(mod => mod.FollowerCollection),
|
|
||||||
);
|
|
||||||
|
|
||||||
// We only need to load the chat container here if we're in mobile or narrow
|
// We only need to load the chat container here if we're in mobile or narrow
|
||||||
// windows, so lazy loading it makes sense.
|
// windows, so lazy loading it makes sense.
|
||||||
const ChatContainer = dynamic(() =>
|
const ChatContainer = dynamic(() =>
|
||||||
|
|||||||
Reference in New Issue
Block a user