Lazy load chat container

This commit is contained in:
Gabe Kangas
2022-10-27 23:47:15 -07:00
parent 6564fc69bf
commit d91f682d21
3 changed files with 6 additions and 6 deletions

View File

@@ -55,8 +55,6 @@ const OwncastPlayer = dynamic(() =>
import('../../video/OwncastPlayer/OwncastPlayer').then(mod => mod.OwncastPlayer),
);
// We only need to load the chat container here if we're in mobile or narrow
// windows, so lazy loading it makes sense.
const ChatContainer = dynamic(() =>
import('../../chat/ChatContainer/ChatContainer').then(mod => mod.ChatContainer),
);