From c671b622d52ab853341842e73d9bb20c3ff388d2 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Tue, 10 Sep 2024 23:44:24 +0200 Subject: [PATCH] Revert "disable admin login" This reverts commit eb15f4b29cdbec172ae76cf30971145a443c7dcd. --- components/header.tsx | 3 +++ next.config.mjs | 18 +++++++++--------- pages/_app.tsx | 40 ++++++++++++++++++++++++++++++++-------- 3 files changed, 44 insertions(+), 17 deletions(-) diff --git a/components/header.tsx b/components/header.tsx index 520a067..99990fa 100644 --- a/components/header.tsx +++ b/components/header.tsx @@ -2,6 +2,7 @@ import { useState } from 'react' import Head from 'next/head' import Link from 'next/link' import { useRouter } from 'next/router' +import User from './user' const NAV_ENTRIES = [ { @@ -59,6 +60,7 @@ export default function Header() { ) })} +