From 86ed5d56fa18ae091cc360e89c03945d995f4442 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Fri, 26 Mar 2021 21:50:53 -0700 Subject: [PATCH] Updated header links. --- components/layout/Layout.js | 8 -------- pages/_app.js | 5 +++++ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/components/layout/Layout.js b/components/layout/Layout.js index 18a8fc2017..3b68a58173 100644 --- a/components/layout/Layout.js +++ b/components/layout/Layout.js @@ -1,21 +1,13 @@ import React from 'react'; import Head from 'next/head'; -import { useRouter } from 'next/router'; import Header from 'components/layout/Header'; import Footer from 'components/layout/Footer'; export default function Layout({ title, children, header = true, footer = true }) { - const { basePath } = useRouter(); - return ( <> umami{title && ` - ${title}`} - - {header &&
}
{children}
diff --git a/pages/_app.js b/pages/_app.js index cf4cb24c0f..713270590f 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -31,12 +31,17 @@ export default function App({ Component, pageProps }) { return ( + +