React error fixes (#180)

* fix className errors by replacing class= with className= in templates; remove unused imports

* fix component key warning by adding the node.id key to the component
This commit is contained in:
Josh RosenHanst
2019-10-17 02:21:25 -04:00
committed by Vishnu Ks
parent 89cdab6ad2
commit fb6e2e8b5d
4 changed files with 10 additions and 13 deletions

View File

@@ -26,7 +26,7 @@ const Layout = ({ children }) => {
return (
<>
<Header siteTitle={data.site.siteMetadata.title} />
<div class="container mx-auto px-10">
<div className="container mx-auto px-10">
<main>{children}</main>
<footer>
© {new Date().getFullYear()}, Built with