Skip to content

Commit

Permalink
docs: update comments
Browse files Browse the repository at this point in the history
Co-authored-by: Rajat Parashar <parasharrajat@users.noreply.github.com>
  • Loading branch information
mdneyazahmad and parasharrajat authored Oct 18, 2022
1 parent dee73e7 commit 8315f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportTypingIndicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ReportTypingIndicator extends React.Component {
const numUsersTyping = _.size(this.state.usersTyping);

// If we are offline, the user typing statuses are not up-to-date so do not show them
// Or if there is no user typing, we do not show the indicator
// If there is no user typing or the device is offline, do not show the indicator.
if (this.props.network.isOffline || numUsersTyping === 0) {
return null;
}
Expand Down

0 comments on commit 8315f26

Please sign in to comment.