From 60d892858d100ae0b6726d30a2e75375cc2121c1 Mon Sep 17 00:00:00 2001 From: LekoArts Date: Wed, 6 Jan 2021 14:27:43 +0100 Subject: [PATCH] fix(gatsby-theme-blog): Remove console.log --- .../src/components/post-hero-caption.js | 41 +++++++++---------- 1 file changed, 19 insertions(+), 22 deletions(-) mode change 100644 => 100755 packages/gatsby-theme-blog/src/components/post-hero-caption.js diff --git a/packages/gatsby-theme-blog/src/components/post-hero-caption.js b/packages/gatsby-theme-blog/src/components/post-hero-caption.js old mode 100644 new mode 100755 index 69c6d887..c1576939 --- a/packages/gatsby-theme-blog/src/components/post-hero-caption.js +++ b/packages/gatsby-theme-blog/src/components/post-hero-caption.js @@ -1,27 +1,24 @@ import React from "react" import { Styled, css, Flex } from "theme-ui" -const PostHeroCaption = ({ text, url }) => { - console.log(__filename, `text`, { text, url }) - return ( - <> - {text && ( - - {url ? ( - - {text} - - ) : ( - {text} - )} - - )} - - ) -} +const PostHeroCaption = ({ text, url }) => ( + <> + {text && ( + + {url ? ( + + {text} + + ) : ( + {text} + )} + + )} + +) export default PostHeroCaption