diff --git a/src/templates/gengar/Gengar.js b/src/templates/gengar/Gengar.js index 4040ef1e..7d418ae6 100644 --- a/src/templates/gengar/Gengar.js +++ b/src/templates/gengar/Gengar.js @@ -9,7 +9,7 @@ const Gengar = () => { const { state } = context; const { data, theme } = state; - const { r, g, b } = hexToRgb(theme.colors.accent); + const { r, g, b } = hexToRgb(theme.colors.accent) || {}; const Photo = () => data.profile.photo !== '' && (