mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
use react 16
This commit is contained in:
1 parent
8c195661d7
commit
d1ec9064fc
5 files changed
+129
-232
No files matched your search
@@ -71,7 +71,7 @@ export default class MessagePadInputContainer extends React.PureComponent {
|
||||
store: PropTypes.object,
|
||||
};
|
||||
|
||||
componentWillUpdate(nextProps) {
|
||||
UNSAFE_componentWillUpdate(nextProps) { // eslint-disable-line camelcase
|
||||
this.focusInput = (
|
||||
nextProps.activeId !== this.props.activeId
|
||||
|| this.props.isPosting !== nextProps.isPosting && nextProps.isPosting === false
|
||||
|
||||
Reference in new issue
Block a user