fix(core): don't pass ref to react-polyglot 'translate' function component (#2607)

This commit is contained in:
Erez Rokah 2019-09-05 01:38:41 +03:00 committed by Shawn Erquhart
parent bab180890e
commit 5b64e25d07

View File

@ -329,7 +329,7 @@ const ConnectedEditorControl = connect(
mapStateToProps,
mapDispatchToProps,
null,
{ withRef: true },
{ withRef: false },
)(translate()(EditorControl));
export default ConnectedEditorControl;