diff --git a/app/components/Editor.js b/app/components/Editor.js index b26e27026..b8679c266 100644 --- a/app/components/Editor.js +++ b/app/components/Editor.js @@ -9,6 +9,7 @@ type Props = { bodyPlaceholder?: string, defaultValue?: string, readOnly?: boolean, + forwardedRef: *, history: *, ui: *, }; @@ -53,6 +54,7 @@ class Editor extends React.Component { render() { return ( { } } -export default Editor; +// $FlowIssue - https://github.com/facebook/flow/issues/6103 +export default React.forwardRef((props, ref) => ( + +));