From db5acfa0756a3849d3417954cf7221b0f40daab8 Mon Sep 17 00:00:00 2001 From: Stephen Gordon Date: Wed, 14 Feb 2024 13:13:27 +0000 Subject: [PATCH] added router to scanner --- src/app/home/page.tsx | 18 ++++++++++-------- src/app/layout.tsx | 8 +------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/app/home/page.tsx b/src/app/home/page.tsx index 7e59d01..4b8cc8b 100644 --- a/src/app/home/page.tsx +++ b/src/app/home/page.tsx @@ -60,7 +60,7 @@ export default function Page() { return (
-
+
@@ -111,13 +111,15 @@ export default function Page() {
- {scanResult ? ( -

success

- ) : ( -
- Scanner -
- )} +
+ {scanResult ? ( +

success

+ ) : ( +
+ Scanner +
+ )} +
); diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 8484672..6e2e614 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -284,13 +284,7 @@ export default function RootLayout({ {/*
*/} -
+
{children}