diff --git a/components/UncapIndicator/index.tsx b/components/UncapIndicator/index.tsx index dc86836d..647a0a7d 100644 --- a/components/UncapIndicator/index.tsx +++ b/components/UncapIndicator/index.tsx @@ -47,7 +47,9 @@ const UncapIndicator = (props: Props) => { } } } else { - if (props.ulb) { + if (props.xlb) { + numStars = 6 + } else if (props.ulb) { numStars = 5 } else if (props.flb) { numStars = 4 @@ -76,13 +78,15 @@ const UncapIndicator = (props: Props) => { } const transcendence = (i: number) => { + const tabIndex = props.position * 7 + i + 1 return props.type === 'character' || props.type === 'summon' ? ( { editable={props.editable} interactive={false} onStarClick={() => togglePopover(true)} - tabIndex={props.position * 7 + i + 1} /> ) : ( @@ -99,8 +102,7 @@ const UncapIndicator = (props: Props) => { stage={props.transcendenceStage} editable={props.editable} interactive={false} - onStarClick={() => togglePopover(true)} - tabIndex={props.position * 7 + i + 1} + tabIndex={tabIndex} /> ) } @@ -146,8 +148,6 @@ const UncapIndicator = (props: Props) => { ) } - const transcendencePopover = () => {} - return (
- {transcendencePopover()}
) }