removed missing console.log

This commit is contained in:
u-e 2019-02-14 11:42:51 +03:00
parent d7f2dbc489
commit aa5c14e050

View File

@ -164,7 +164,7 @@ const handleLinks = input => input.replace(linkRegex, (link) => {
if (imageMatch[0].indexOf('.gif') > 0) {
return gifBody(imageMatch[0]);
}
console.log(imageMatch);
if (imageMatch[0]) {
return imageBody(imageMatch[0]);
}