Fix bug breaking character tab
This commit is contained in:
parent
e9a3ad0cb6
commit
b10d8b4e58
1 changed files with 5 additions and 1 deletions
|
|
@ -65,7 +65,11 @@ const CharacterHovercard = (props: Props) => {
|
|||
}
|
||||
|
||||
const overMasterySection = () => {
|
||||
if (props.gridCharacter && props.gridCharacter.over_mastery.length > 0) {
|
||||
if (
|
||||
props.gridCharacter &&
|
||||
props.gridCharacter.over_mastery &&
|
||||
props.gridCharacter.over_mastery.length > 0
|
||||
) {
|
||||
return (
|
||||
<section className={styles.mastery}>
|
||||
<h5 className={tintElement}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue