0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 03:22:38 +00:00

Fix issue with empty theme ( /faq )

This commit is contained in:
David Bolack
2024-02-28 14:53:40 -06:00
parent 544bc9bd01
commit 753b3befad
2 changed files with 3 additions and 2 deletions

View File

@@ -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';