Fix issue with empty theme ( /faq )

This commit is contained in:
David Bolack committed 2024-02-28 14:53:40 -06:00
1 parent 544bc9bd01
commit 753b3befad
2 files changed
+3 -2

No files matched your search

@@ -184,7 +184,7 @@ const BrewRenderer = (props)=>{
let rendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
let baseRendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
const blankRendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
if(props.theme[0] === '#') {
if(props?.theme && (props?.theme[0] === '#')) {
rendererPath = 'Brew';
}
let themePath = props.theme ?? '5ePHB';