From a3abe69512cf883a67add7a1fe79d8a6a0177e8a Mon Sep 17 00:00:00 2001 From: Pontus Abrahamsson Date: Thu, 21 Dec 2023 12:14:55 +0100 Subject: [PATCH] Fix flicker --- .../src/app/[locale]/@dashboard/(closed)/closed/page.tsx | 2 +- apps/dashboard/src/app/[locale]/@dashboard/(root)/page.tsx | 4 ++-- apps/dashboard/src/components/main-menu.tsx | 4 ++-- apps/dashboard/src/styles/globals.css | 4 ---- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/apps/dashboard/src/app/[locale]/@dashboard/(closed)/closed/page.tsx b/apps/dashboard/src/app/[locale]/@dashboard/(closed)/closed/page.tsx index 4332dd0797..81ce1ea35b 100644 --- a/apps/dashboard/src/app/[locale]/@dashboard/(closed)/closed/page.tsx +++ b/apps/dashboard/src/app/[locale]/@dashboard/(closed)/closed/page.tsx @@ -45,7 +45,7 @@ export default function Closed() {

- You can't login yet but keep a lookout in your email for when we + You can't log in yet, but keep a lookout in your email for when we open up for beta testing.

diff --git a/apps/dashboard/src/app/[locale]/@dashboard/(root)/page.tsx b/apps/dashboard/src/app/[locale]/@dashboard/(root)/page.tsx index 155c71d51c..41be157411 100644 --- a/apps/dashboard/src/app/[locale]/@dashboard/(root)/page.tsx +++ b/apps/dashboard/src/app/[locale]/@dashboard/(root)/page.tsx @@ -39,11 +39,11 @@ export default async function Overview({ searchParams }) { }; const isOpen = Boolean(searchParams.step); - const empty = !data?.length && !isOpen; + const empty = !data?.length; return ( <> -
+
diff --git a/apps/dashboard/src/components/main-menu.tsx b/apps/dashboard/src/components/main-menu.tsx index ce4eff6a4e..4064ed0374 100644 --- a/apps/dashboard/src/components/main-menu.tsx +++ b/apps/dashboard/src/components/main-menu.tsx @@ -20,10 +20,10 @@ export function MainMenu() { name: "Inbound", icon: () => (
- + {/* - + */}
), diff --git a/apps/dashboard/src/styles/globals.css b/apps/dashboard/src/styles/globals.css index c2efc5558d..901dd3ab4e 100644 --- a/apps/dashboard/src/styles/globals.css +++ b/apps/dashboard/src/styles/globals.css @@ -7,10 +7,6 @@ body { outline: none; } -.steps-gradient { - background: linear-gradient(180deg,#121212 0%, #2C2C2C 40%, #2C2C2C 100%); -} - :root { --sidebar-width: 662px;