Update index.tsx
This commit is contained in:
parent
e06e2c7f23
commit
7ff4ee0a8f
1 changed files with 2 additions and 2 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Reference in a new issue