Warning: This synthetic event is reused for performance reasons. If you're seeing this, you're accessing the property `shiftKey` on a released/nullified synthetic event. This is set to null. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.
import ReactScrollbarJS from 'react-scrollbar-js';
// etc.
// on the render
<div className="post-right">
<ReactScrollbarJS style={{height: '100%', width: '100%'}}>
<p className="section-title">You may also like</p>
{this.props.related_posts.length > 0? this.props.related_posts.map((post, i) =>
<div className="related-post-wrapper" key={i}>
<img src={settings.storage_path + '/images/' + post.cover_image} />
<Link to={'/post/' + post.public_id}>{post.title}</Link>
</div>
): <p>There are no related posts to show.</p>}
</ReactScrollbarJS>
</div>