Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix issue with object destructuring

Amruth Pillaiffa77cbbd6b9
diff --git a/src/templates/gengar/Gengar.js b/src/templates/gengar/Gengar.js
index 4040ef1e9..7d418ae61 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 !== '' && (