remove the removed link card manually with jquery

This commit is contained in:
Devin Howard 2017-01-28 16:29:11 -05:00
parent 24b48768bf
commit 43016f9de6

View file

@ -71,6 +71,7 @@ class Attachments extends Component {
embedlyLinkError: false embedlyLinkError: false
}) })
this.props.updateTopic({ link: null }) this.props.updateTopic({ link: null })
$('.embedly-card').remove() // failsafe
} }
render = () => { render = () => {