Fixing bugs

This commit is contained in:
Justin Edmund 2022-02-02 20:57:51 -08:00
parent 7ff4ee0a8f
commit 50d2d814eb
2 changed files with 2 additions and 3 deletions

View file

@ -49,9 +49,9 @@ const SummonUnit = (props: Props) => {
setImageUrl(imgSrc) setImageUrl(imgSrc)
} }
function passUncapData(position: number, uncap: number) { function passUncapData(uncap: number) {
if (props.gridSummon) if (props.gridSummon)
props.updateUncap(props.gridSummon.id, position, uncap) props.updateUncap(props.gridSummon.id, props.position, uncap)
} }
return ( return (

View file

@ -12,7 +12,6 @@ const NewRoute: React.FC = () => {
<Party <Party
editable={true} editable={true}
extra={false} extra={false}
exists={false}
pushHistory={callback} pushHistory={callback}
/> />
</div> </div>