From 51552e881f2701263f3e81f50daf3c06fb57d04d Mon Sep 17 00:00:00 2001 From: Muhammad Eko Prasetyo Date: Wed, 4 May 2022 15:03:20 +0700 Subject: [PATCH] fix main stat undefined --- src/components/pages/Artifacts.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/Artifacts.tsx b/src/components/pages/Artifacts.tsx index 85f78eb..fc9551d 100644 --- a/src/components/pages/Artifacts.tsx +++ b/src/components/pages/Artifacts.tsx @@ -63,7 +63,7 @@ export default function Artifacts() { const handleMainStatChange = (event: any, value: any) => { if (value !== null) { - setSelectedMainStat(value.Id); + setSelectedMainStat(value.id); } };