Unverified Commit 1a0d0ff5 authored by Sudheer's avatar Sudheer Committed by GitHub

Fix an error with ScrollToBottomArrows (#2112)

* Fix the error of onClick with scrollToBottomArrow prop
parent e1b2dc9d
......@@ -647,8 +647,8 @@ export default class PostList extends React.PureComponent {
/>
<ScrollToBottomArrows
isScrolling={this.state.isScrolling}
atBottom={this.checkBottom()}
onClick={this.atBottom}
atBottom={this.atBottom}
onClick={this.scrollToBottom}
/>
<NewMessageIndicator
newMessages={this.state.unViewedCount}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment