Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
eslint corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
sridhar02 committed Jul 20, 2020
1 parent 71ae7c6 commit 5a9fa0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/toast_wrapper/toast_wrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ToastWrapper extends React.PureComponent {

// show unread toast on mount when channel is not at bottom and unread count greater than 0
if (typeof showUnreadToast === 'undefined' && props.atBottom !== null) {
showUnreadToast = unreadCount > 0 && props.initScrollOffsetFromBottom > 1000;
showUnreadToast = unreadCount > 0 && props.initScrollOffsetFromBottom > 1000;
}

if (typeof showMessageHistoryToast === 'undefined' && props.focusedPostId !== '' && props.atBottom !== null) {
Expand Down

0 comments on commit 5a9fa0c

Please sign in to comment.