From 32dcf235efd17c32323516f62368434d0ac9e912 Mon Sep 17 00:00:00 2001 From: emilielr Date: Wed, 3 Jul 2024 14:20:04 +0200 Subject: [PATCH] fix(demo): remove button when logged in --- next-tavla/app/demo/page.tsx | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/next-tavla/app/demo/page.tsx b/next-tavla/app/demo/page.tsx index 89f803c80..415579708 100644 --- a/next-tavla/app/demo/page.tsx +++ b/next-tavla/app/demo/page.tsx @@ -28,7 +28,7 @@ async function Demo() { lagret. - + {!loggedIn && }
Lag en demo-tavle @@ -56,30 +56,23 @@ async function Demo() {
- + {!loggedIn && } ) } export default Demo -const CreateUserButton = ({ loggedIn }: { loggedIn: boolean }) => { +const CreateUserButton = () => { return (
Opprett bruker Det er helt gratis å bruke Tavla! - {!loggedIn && ( - - )} +
) }