"use client"; export default function PollOption({ option, pollManager, peerId }: any) { return (
pollManager.vote(option.id, peerId)} > {option.text} - {option.votes} votes
); }