Update index.tsx
This commit is contained in:
parent
ecfc62900d
commit
8192f1d0ce
1 changed files with 0 additions and 3 deletions
|
|
@ -15,8 +15,6 @@ interface Props {
|
||||||
}
|
}
|
||||||
|
|
||||||
const CharacterUnit = (props: Props) => {
|
const CharacterUnit = (props: Props) => {
|
||||||
console.log(props.gridCharacter?.character.name.en, props.gridCharacter?.uncap_level)
|
|
||||||
|
|
||||||
const [imageUrl, setImageUrl] = useState('')
|
const [imageUrl, setImageUrl] = useState('')
|
||||||
|
|
||||||
const classes = classnames({
|
const classes = classnames({
|
||||||
|
|
@ -44,7 +42,6 @@ const CharacterUnit = (props: Props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
function passUncapData(uncap: number) {
|
function passUncapData(uncap: number) {
|
||||||
console.log(`passuncapdata ${uncap}`)
|
|
||||||
if (props.gridCharacter)
|
if (props.gridCharacter)
|
||||||
props.updateUncap(props.gridCharacter.id, props.position, uncap)
|
props.updateUncap(props.gridCharacter.id, props.position, uncap)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue