From ad5d44520bee6b67122b2a2fbfa3f960501adfd6 Mon Sep 17 00:00:00 2001 From: pmoharana-cmd Date: Tue, 17 Dec 2024 21:52:46 -0500 Subject: [PATCH] Fix div td error in console --- compass/app/auth/login/page.tsx | 2 ++ compass/app/test/page.tsx | 2 ++ compass/components/Drawer/Drawer.tsx | 45 ++++++++++---------------- compass/components/auth/Loading.tsx | 2 ++ compass/components/auth/LoggingOut.tsx | 2 ++ 5 files changed, 25 insertions(+), 28 deletions(-) diff --git a/compass/app/auth/login/page.tsx b/compass/app/auth/login/page.tsx index fa945c9..9dab449 100644 --- a/compass/app/auth/login/page.tsx +++ b/compass/app/auth/login/page.tsx @@ -77,6 +77,8 @@ export default function Page() { alt="Compass Center logo." width={100} height={91} + style={{ height: "auto", width: "auto" }} + priority />

Login

diff --git a/compass/app/test/page.tsx b/compass/app/test/page.tsx index 37271df..9ae938e 100644 --- a/compass/app/test/page.tsx +++ b/compass/app/test/page.tsx @@ -76,6 +76,8 @@ export default function Page() { alt="Compass Center logo." width={100} height={91} + style={{ height: "auto", width: "auto" }} + priority />

Login

diff --git a/compass/components/Drawer/Drawer.tsx b/compass/components/Drawer/Drawer.tsx index da6fd8c..57a95e9 100644 --- a/compass/components/Drawer/Drawer.tsx +++ b/compass/components/Drawer/Drawer.tsx @@ -137,7 +137,6 @@ const Drawer: FunctionComponent = ({ > Open -
@@ -173,13 +172,11 @@ const Drawer: FunctionComponent = ({ -
-
- - - + -
-
- - + + -
-
- - + + -
-
- - + + diff --git a/compass/components/auth/Loading.tsx b/compass/components/auth/Loading.tsx index a655fb3..a56537b 100644 --- a/compass/components/auth/Loading.tsx +++ b/compass/components/auth/Loading.tsx @@ -11,6 +11,8 @@ const Loading = () => { alt="Compass Center logo." width={100} height={91} + style={{ height: "auto", width: "auto" }} + priority />

Loading...

diff --git a/compass/components/auth/LoggingOut.tsx b/compass/components/auth/LoggingOut.tsx index 8915e23..13b3877 100644 --- a/compass/components/auth/LoggingOut.tsx +++ b/compass/components/auth/LoggingOut.tsx @@ -11,6 +11,8 @@ const LoggingOut = () => { alt="Compass Center logo." width={100} height={91} + style={{ height: "auto", width: "auto" }} + priority />

Signing out...

- - Username + + + Username + = ({
- - Role + + Role
- - Email + + Email = ({
- - Type of Program + + Type of Program {/* {rowContent.program} */} = ({ presetOptions={rolePresetOptions} setPresetOptions={setRolePresetOptions} getTagColor={getTagColor} - setTagColors={setTagColors} />