use react 16

This commit is contained in:
masnn committed 2020-04-15 15:08:34 +08:00
1 parent 8c195661d7
commit d1ec9064fc
5 files changed
+129 -232

No files matched your search

@@ -22,7 +22,7 @@ export default class MessagePadDialogueContentContainer extends React.PureCompon
$(this.refs.list).scrollLock({ strict: true });
}
componentWillUpdate(nextProps) {
UNSAFE_componentWillUpdate(nextProps) { // eslint-disable-line camelcase
if (nextProps.activeId !== this.props.activeId) {
this.scrollToBottom = true;
this.scrollWithAnimation = false;