FIX null brandImage

This commit is contained in:
Kenneth Truong 2019-04-16 20:55:18 -07:00
parent 2887028ad2
commit 31a43b70ff

View File

@ -172,7 +172,7 @@ export const convert = (inherit: ThemeVars = lightThemeVars): Theme => {
brand: {
title: brandTitle,
url: brandUrl,
image: brandImage || brandTitle ? null : undefined,
image: brandImage || (brandTitle ? null : undefined),
},
code: createSyntax({