From c9f3c18c7f5105a566ead95c2b73fe82ff53813d Mon Sep 17 00:00:00 2001 From: Vollmer Date: Mon, 1 Apr 2024 14:37:43 +0200 Subject: [PATCH] Move MajorDefs to the top if Xeph --- src/analysis/retail/evoker/augmentation/Guide.tsx | 2 +- src/analysis/retail/evoker/devastation/Guide.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/analysis/retail/evoker/augmentation/Guide.tsx b/src/analysis/retail/evoker/augmentation/Guide.tsx index bbec0bb85d6..da957615117 100644 --- a/src/analysis/retail/evoker/augmentation/Guide.tsx +++ b/src/analysis/retail/evoker/augmentation/Guide.tsx @@ -8,7 +8,7 @@ import { Helpers } from './modules/guide/Helpers'; import MajorDefensives from '../shared/modules/MajorDefensives/DefensivesGuide'; export default function Guide({ modules, events, info }: GuideProps) { - const isXeph = info.combatant?.name === 'Xephyris'; + const isXeph = info?.combatant?.name === 'Xephyris'; return ( <> {isXeph && } diff --git a/src/analysis/retail/evoker/devastation/Guide.tsx b/src/analysis/retail/evoker/devastation/Guide.tsx index eba08a868dc..0e2ef740829 100644 --- a/src/analysis/retail/evoker/devastation/Guide.tsx +++ b/src/analysis/retail/evoker/devastation/Guide.tsx @@ -10,15 +10,17 @@ import { IntroSection } from './modules/guide/IntroSection'; import MajorDefensives from '../shared/modules/MajorDefensives/DefensivesGuide'; export default function Guide({ modules, events, info }: GuideProps) { + const isXeph = info?.combatant?.name === 'Xephyris'; return ( <> + {isXeph && } - + {!isXeph && } );