Skip to content

Commit

Permalink
Hide results
Browse files Browse the repository at this point in the history
  • Loading branch information
hkdobrev committed Oct 27, 2024
1 parent 046d35f commit 06b8fd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/visibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const shouldShowOfficialStreaming = hasElectionDayEnded

// Only show results, when they are available and after election day end
export const shouldShowResults = (results, meta) => {
return false
if (!results) return false

return results.length > 0 && shouldAllowSendingProtocols(meta)
Expand Down

0 comments on commit 06b8fd6

Please sign in to comment.