From cafde75dbb1dac5cd9adf44f47ad8d052fac3c83 Mon Sep 17 00:00:00 2001 From: Sashen Jayathilaka <99184393+SashenJayathilaka@users.noreply.github.com> Date: Sun, 30 Apr 2023 17:35:11 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Bug=20Fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/profile/Contents/card/StatsCard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/profile/Contents/card/StatsCard.tsx b/components/profile/Contents/card/StatsCard.tsx index e7aaa54..4949d0c 100644 --- a/components/profile/Contents/card/StatsCard.tsx +++ b/components/profile/Contents/card/StatsCard.tsx @@ -44,7 +44,8 @@ function StatsCard({ addOnes, setAddOnes, resolvedTheme }: Props) { })); } else { onUpdateState(); - }; + } + }; useEffect(() => { updateStateValue();