From 09960ce58118727e85f735d04f7e2572fc3d181e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cspicecat=E2=80=9D?= Date: Tue, 2 Aug 2022 21:27:14 -0500 Subject: [PATCH] fix undefined tooltips --- client/src/components/QAComponents/Question.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/components/QAComponents/Question.jsx b/client/src/components/QAComponents/Question.jsx index 0129390..40f32b7 100644 --- a/client/src/components/QAComponents/Question.jsx +++ b/client/src/components/QAComponents/Question.jsx @@ -58,8 +58,6 @@ export default function Question({ if (reopen.length) setOngoingVote({ users: reopen, type: 'open' }) } - - let level = 0; const protection = status === 'protected' || status === 'closed'; @@ -129,13 +127,14 @@ export default function Question({ /> - + - + +