0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 11:32:39 +00:00

Fix Jest issues I was able to understand

This commit is contained in:
David Bolack
2024-03-06 22:50:24 -06:00
parent 54e2deaddc
commit eb4ecf853b
4 changed files with 10 additions and 9 deletions

View File

@@ -207,7 +207,7 @@ const BrewRenderer = (props)=>{
baseRendererPath += '/';
}
const staticOrUserParent = props?.theme[0] == '#' ? `/cssParent/${themePath}` : `/css/${baseRendererPath}${baseThemePath}`;
const staticOrUserParent = (props.theme && props?.theme[0] == '#') ? `/cssParent/${themePath}` : `/css/${baseRendererPath}${baseThemePath}`;
return (
<>