Updates the poll state based on the provided data.

await pollUpdated({
data: { poll: updatedPoll, status: "started" },
polls: currentPolls,
poll: currentPoll,
member: "user123",
islevel: "1",
showAlert: (alert) => console.log(alert.message),
updatePolls: (polls) => setPolls(polls),
updatePoll: (poll) => setCurrentPoll(poll),
updateIsPollModalVisible: (visible) => setIsPollModalVisible(visible),
});