From 6ee231a9e093d01bb67d5044a8a3832424be3890 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Wed, 26 May 2021 11:18:33 -0700 Subject: Run prettier --- src/components/SEO.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/components') diff --git a/src/components/SEO.tsx b/src/components/SEO.tsx index ce86222..26018e9 100644 --- a/src/components/SEO.tsx +++ b/src/components/SEO.tsx @@ -1,7 +1,7 @@ -import React from "react" -import PropTypes from "prop-types" -import { Helmet } from "react-helmet" -import { useStaticQuery, graphql } from "gatsby" +import React from "react"; +import PropTypes from "prop-types"; +import { Helmet } from "react-helmet"; +import { useStaticQuery, graphql } from "gatsby"; function SEO({ description, lang, meta, title }) { const { site } = useStaticQuery( @@ -16,8 +16,8 @@ function SEO({ description, lang, meta, title }) { } } ` - ) - const metaDescription = description || site.siteMetadata.description + ); + const metaDescription = description || site.siteMetadata.description; return ( - ) + ); } SEO.defaultProps = { lang: `en`, meta: [], description: ``, -} +}; SEO.propTypes = { description: PropTypes.string, lang: PropTypes.string, meta: PropTypes.arrayOf(PropTypes.object), title: PropTypes.string.isRequired, -} -export default SEO \ No newline at end of file +}; +export default SEO; -- cgit