mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 08:42:08 +10:00
fix issue with object destructuring
This commit is contained in:
@ -9,7 +9,7 @@ const Gengar = () => {
|
|||||||
const { state } = context;
|
const { state } = context;
|
||||||
const { data, theme } = state;
|
const { data, theme } = state;
|
||||||
|
|
||||||
const { r, g, b } = hexToRgb(theme.colors.accent);
|
const { r, g, b } = hexToRgb(theme.colors.accent) || {};
|
||||||
|
|
||||||
const Photo = () =>
|
const Photo = () =>
|
||||||
data.profile.photo !== '' && (
|
data.profile.photo !== '' && (
|
||||||
|
|||||||
Reference in New Issue
Block a user