From b80c21358a7cfd1f0ffd766ba07c3cdb85b42679 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Sat, 11 Nov 2023 22:11:02 +0100 Subject: [PATCH] tab bug fix --- src/components/History/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/History/index.jsx b/src/components/History/index.jsx index c29adb2..b1c446a 100644 --- a/src/components/History/index.jsx +++ b/src/components/History/index.jsx @@ -254,7 +254,7 @@ export default function History() { name="jobs_completed" onClick={(e) => setTab(e.target.name)} className={`px-4 py-1 rounded-t-2xl ${ - tab == "reward" ? "bg-[#4687ba] border-[2px] border-[#4687ba] text-white" : "bg-white text-[#000] border-t-[2px]" + tab == "jobs_completed" ? "bg-[#4687ba] border-[2px] border-[#4687ba] text-white" : "bg-white text-[#000] border-t-[2px]" }`} > Jobs Completed