From a5319eb74cbe9726a9db012db1d434c2d8e15db8 Mon Sep 17 00:00:00 2001 From: Miguel Alatzar Date: Thu, 23 Jul 2020 08:54:58 -0700 Subject: [PATCH] Don't set state.inputValue in constructor (#4606) --- app/components/post_draft/quick_actions/quick_actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/post_draft/quick_actions/quick_actions.js b/app/components/post_draft/quick_actions/quick_actions.js index 3eb525f64..9d55f9f61 100644 --- a/app/components/post_draft/quick_actions/quick_actions.js +++ b/app/components/post_draft/quick_actions/quick_actions.js @@ -41,7 +41,7 @@ export default class QuickActions extends PureComponent { super(props); this.state = { - inputValue: props.initialValue, + inputValue: '', atDisabled: props.readonly, slashDisabled: props.readonly, };