From e251c77f3ce55ddbcd7d552eb8d77e5bb1603602 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 18 Nov 2018 22:03:10 -0800 Subject: [PATCH] Fixes: Error loading new document in Editor --- app/components/Editor.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) => ( + +));