From 5a9fa0c9e1f109d66f504738735f33b165c7b572 Mon Sep 17 00:00:00 2001 From: sridhar02 Date: Wed, 8 Jul 2020 09:13:14 +0530 Subject: [PATCH] eslint corrections --- components/toast_wrapper/toast_wrapper.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/toast_wrapper/toast_wrapper.jsx b/components/toast_wrapper/toast_wrapper.jsx index 555a726046e6..72dfbb90f8ce 100644 --- a/components/toast_wrapper/toast_wrapper.jsx +++ b/components/toast_wrapper/toast_wrapper.jsx @@ -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) {