From 7ff4ee0a8f0c2b85bd684630278f9200cda7ee8d Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 2 Feb 2022 20:54:03 -0800 Subject: [PATCH] Update index.tsx --- components/SummonUnit/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/SummonUnit/index.tsx b/components/SummonUnit/index.tsx index c76a9e92..8775cb81 100644 --- a/components/SummonUnit/index.tsx +++ b/components/SummonUnit/index.tsx @@ -49,9 +49,9 @@ const SummonUnit = (props: Props) => { setImageUrl(imgSrc) } - function passUncapData(uncap: number) { + function passUncapData(position: number, uncap: number) { if (props.gridSummon) - props.updateUncap(props.gridSummon.id, uncap) + props.updateUncap(props.gridSummon.id, position, uncap) } return (