+ {data?.message && Object.keys(data.message).map((opt) => {
+ const option = data.message[opt]
+ const optionName = poll.poll.options.find(o => o.name === opt)?.option
+ return (
+
+
+
+ {optionName}
+ - {option.percentage}%
+
+
{option.count} vote{option.count > 1 ? 's' : ''}
+
+
+
+ {option.users.map(user => (
+
+ ))}
+
+
+ )
+ })}
+
+