From f0831b2f9e5276fd6135f451697e4e1a12df44d7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 20 Dec 2017 15:29:25 +0300 Subject: react-markdown --- vnext/src/components/Message.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vnext/src/components') diff --git a/vnext/src/components/Message.js b/vnext/src/components/Message.js index cf287ce9..ba853f5c 100644 --- a/vnext/src/components/Message.js +++ b/vnext/src/components/Message.js @@ -1,5 +1,6 @@ import React from 'react' import PropTypes from 'prop-types' +import ReactMarkdown from 'react-markdown' export default class Message extends React.Component { render() { @@ -25,7 +26,7 @@ export default class Message extends React.Component { -

{msg.body}

+ { msg.photo &&

-- cgit v1.2.3