From 216b504681dcd8cd78896a4393da265ccd9b03f0 Mon Sep 17 00:00:00 2001 From: abdurrahmanekr Date: Wed, 19 Aug 2020 13:44:30 +0300 Subject: [PATCH] events hotfix --- package.json | 2 +- src/ChatList/ChatList.js | 2 +- src/MeetingList/MeetingList.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ff3c7c2e..62c7722b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-chat-elements", - "version": "10.10.1", + "version": "10.10.2", "description": "Reactjs chat components", "author": "Avare Kodcu ", "main": "dist/main.js", diff --git a/src/ChatList/ChatList.js b/src/ChatList/ChatList.js index 2f0a4e78..034fbfc3 100644 --- a/src/ChatList/ChatList.js +++ b/src/ChatList/ChatList.js @@ -37,7 +37,7 @@ export class ChatList extends Component { {...x} onAvatarError={(e) => this.onAvatarError(x, i, e)} onContextMenu={(e) => this.onContextMenu(x, i, e)} - onClick={() => this.onClick(x, i, e)}/> + onClick={(e) => this.onClick(x, i, e)}/> )) } diff --git a/src/MeetingList/MeetingList.js b/src/MeetingList/MeetingList.js index 3376a302..1457d373 100644 --- a/src/MeetingList/MeetingList.js +++ b/src/MeetingList/MeetingList.js @@ -47,9 +47,9 @@ export class MeetingList extends Component { {...x} onAvatarError={(e) => this.onAvatarError(x, i, e)} onContextMenu={(e) => this.onContextMenu(x, i, e)} - onClick={() => this.onClick(x, i, e)} - onMeetingClick={() => this.onMeetingClick(x, i, e)} - onShareClick={() => this.onShareClick(x, i, e)}/> + onClick={(e) => this.onClick(x, i, e)} + onMeetingClick={(e) => this.onMeetingClick(x, i, e)} + onShareClick={(e) => this.onShareClick(x, i, e)}/> )) }