Skip to content

Commit 1ec9c6c

Browse files
authored
Merge pull request #75 from wildjames/dev
minor fix
2 parents 91ec9bd + 37adcc8 commit 1ec9c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

todoqueue_frontend/src/components/user_stats_box/UserStatsBox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import './UserStatsBox.css';
55

66

77
const UserStatsBox = ({ selectedHousehold, windowWidth, viewMode, setViewMode, users, handleOpenAwardBrowniePointsPopup }) => {
8-
if (!selectedHousehold || windowWidth <= 800) {
8+
if (!selectedHousehold || windowWidth <= 800 || users.length === 0) {
99
return null;
1010
}
1111

0 commit comments

Comments
 (0)