diff --git a/src/components/status.jsx b/src/components/status.jsx index 16a738c7..fddcd472 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -287,7 +287,8 @@ function Poll({ poll }) { {voted || expired ? ( options.map((option, i) => { const { title, votesCount: optionVotesCount } = option; - const percentage = Math.round((optionVotesCount / votesCount) * 100); + const percentage = + Math.round((optionVotesCount / votesCount) * 100) || 0; return (