Don't set state.inputValue in constructor (#4606)

This commit is contained in:
Miguel Alatzar 2020-07-23 08:54:58 -07:00 committed by GitHub
parent 776b58c413
commit a5319eb74c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ export default class QuickActions extends PureComponent {
super(props);
this.state = {
inputValue: props.initialValue,
inputValue: '',
atDisabled: props.readonly,
slashDisabled: props.readonly,
};