Fix bug breaking character tab

This commit is contained in:
Justin Edmund 2025-02-13 01:11:23 -08:00
parent e9a3ad0cb6
commit b10d8b4e58

View file

@ -65,7 +65,11 @@ const CharacterHovercard = (props: Props) => {
} }
const overMasterySection = () => { 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 ( return (
<section className={styles.mastery}> <section className={styles.mastery}>
<h5 className={tintElement}> <h5 className={tintElement}>