diff --git a/src/components/views/messages/UnknownBody.js b/src/components/views/messages/UnknownBody.js index 6c00921b45..786facc340 100644 --- a/src/components/views/messages/UnknownBody.js +++ b/src/components/views/messages/UnknownBody.js @@ -15,13 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React from "react"; +import React, {forwardRef} from "react"; -export default ({mxEvent}) => { +export default forwardRef(({mxEvent}, ref) => { const text = mxEvent.getContent().body; return ( - + { text } ); -}; +});