From 4b8cd1c66a99da245cd317db64ac973976c7d24b Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Thu, 26 Mar 2020 10:11:36 +0530 Subject: [PATCH] fix issue with pikachu, when there is no photo --- src/templates/pikachu/Pikachu.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/templates/pikachu/Pikachu.js b/src/templates/pikachu/Pikachu.js index e92e5b06..5f400825 100644 --- a/src/templates/pikachu/Pikachu.js +++ b/src/templates/pikachu/Pikachu.js @@ -112,11 +112,13 @@ const Pikachu = () => { }} >
-
- -
+ {data.profile.photo !== '' && ( +
+ +
+ )} -
+