refact: prefer function over lambdas

This commit is contained in:
Jean-Philippe Sirois
2019-07-27 17:54:51 -04:00
parent f7f66a3071
commit 90fb9b1888
13 changed files with 51 additions and 45 deletions
+2 -2
View File
@@ -10,13 +10,13 @@ interface SEOProps {
readonly title: string
}
const SEO = ({
function SEO({
description,
lang = "en",
meta = [],
keywords = [],
title,
}: SEOProps) => {
}: SEOProps) {
const { site } = useStaticQuery(
graphql`
query {