Fix undefined 'votes'

This commit is contained in:
Lim Chee Aun 2023-02-17 11:00:34 +08:00
parent 0430f4ae89
commit d8e6d349a0

View file

@ -895,7 +895,6 @@ function Poll({
choices.push(value);
}
});
console.log(votes);
setUIState('loading');
await votePoll(choices);
setUIState('default');