diff --git a/components/NavLink.js b/components/NavLink.js index ebf94ee..9fec1a8 100644 --- a/components/NavLink.js +++ b/components/NavLink.js @@ -11,7 +11,7 @@ const NavLink = ({ href, children }) => { className = `${className} ${utilStyles.active}`; } - return {React.cloneElement(children, { className })}; + return {React.cloneElement(children, { className })}; }; export default NavLink; diff --git a/components/layout.js b/components/layout.js index 3023eb7..73a650c 100644 --- a/components/layout.js +++ b/components/layout.js @@ -47,7 +47,7 @@ const Layout = ({ children, home }) => {
{name} -