From b10d8b4e585f14afff1cc2f31d11b7cbb4f96652 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Thu, 13 Feb 2025 01:11:23 -0800 Subject: [PATCH] Fix bug breaking character tab --- components/character/CharacterHovercard/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/character/CharacterHovercard/index.tsx b/components/character/CharacterHovercard/index.tsx index 1a9e6d55..af9257ba 100644 --- a/components/character/CharacterHovercard/index.tsx +++ b/components/character/CharacterHovercard/index.tsx @@ -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 (