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