yt-chat-components 1.6.4 → 1.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-chat-components",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "main": "build/static/js/bundle.min.js",
5
5
  "module": "build/static/js/bundle.min.js",
6
6
  "types": "build/static/js/index.d.ts",
@@ -1237,7 +1237,7 @@ export default function ChatWindow({
1237
1237
  }
1238
1238
 
1239
1239
  const renderInputArea = () => {
1240
- if (isShowMobileInputArea) renderInputAreaMobile();
1240
+ if (isShowMobileInputArea) return renderInputAreaMobile();
1241
1241
  let isRender = messages.length === 0
1242
1242
  if (messages.length > 0) {
1243
1243
  const {messageItemList} = messages[messages.length - 1]