mirror of
https://github.com/zhigang1992/react-native-gifted-chat.git
synced 2026-01-12 22:50:22 +08:00
fix(hash): try without
This commit is contained in:
committed by
GitHub
parent
c41b64d5d0
commit
43b57faac9
@@ -77,9 +77,9 @@ export default class MessageContainer extends React.PureComponent {
|
||||
previousMessage,
|
||||
nextMessage,
|
||||
position: item.user._id === this.props.user._id ? 'right' : 'left',
|
||||
hash: sum(
|
||||
`${item.body ? item.body.length : 0}${JSON.stringify(item.attributes)}${previousMessage._id}${nextMessage._id}`,
|
||||
),
|
||||
// hash: sum(
|
||||
// `${item.body ? item.body.length : 0}${JSON.stringify(item.attributes)}${previousMessage._id}${nextMessage._id}`,
|
||||
// ),
|
||||
};
|
||||
|
||||
if (this.props.renderMessage) {
|
||||
|
||||
Reference in New Issue
Block a user