From d8e6d349a0c8e8a8966a64b5c01383cbc49c8b7b Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 17 Feb 2023 11:00:34 +0800 Subject: [PATCH] Fix undefined 'votes' --- src/components/status.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index 8541342e..b1b1621d 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -895,7 +895,6 @@ function Poll({ choices.push(value); } }); - console.log(votes); setUIState('loading'); await votePoll(choices); setUIState('default');