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:
committed by
Vishnu Ks
parent
89cdab6ad2
commit
fb6e2e8b5d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user