From 9a4a1dcc561c7c6cb8ccf55e229b54ab569071fc Mon Sep 17 00:00:00 2001 From: HuskyHsu Date: Fri, 19 Jan 2024 00:36:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20udpate=20chart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Pokemon/components/Statistic.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/Pokemon/components/Statistic.tsx b/src/pages/Pokemon/components/Statistic.tsx index 130ab0f9..e4e81d20 100644 --- a/src/pages/Pokemon/components/Statistic.tsx +++ b/src/pages/Pokemon/components/Statistic.tsx @@ -95,7 +95,7 @@ function updateNature(prev: BasePoint, key: string, value: number): BasePoint { } export function Statistic({ pokemon }: Props) { - const [lv, setLv] = useState(75); + const [lv, setLv] = useState(100); const [customBase, setCustomBase] = useState({ Hp: 0, Atk: 0, @@ -105,6 +105,7 @@ export function Statistic({ pokemon }: Props) { Spe: 0, Total: 0, }); + const [customIndividual, setcustomIndividual] = useState({ Hp: 31, Atk: 31, @@ -136,10 +137,10 @@ export function Statistic({ pokemon }: Props) { return ( <> -
-
-
+
+ +
+