+
+ {PollData.tags.map((tag, index) => (
+
+ ))}
+
+
+ {!PollData.isCustomPoll ? (
+
+ {PollData.options.map((option, index) => {
+ const widthPercentage = (option.votes / totalPoints) * 100;
+ return (
+
+ );
+ })}
+
+ ) : (
+
+
+ Enter a {PollData.optionType}
+
+
navigate("/vote")}
+ >
+
+ )}
+
+
+
+
+ {`${PollData.comments.length} comment${
+ PollData.comments.length > 1 ? "s" : ""
+ }`}
+
+
+
+
+
+
+
+
+
+
+