chore: dashboard fixes (#14968)

* add rewrites for platform dashboard

* fix loading checking

* add checks

* dont display banner for platform client

* custom hooks for pllatform

* add comment for better explanation

* get data from custom hook

* update returned user attributes

* get data from custom hook
This commit is contained in:
Rajiv Sahal authored and GitHub committed 2024-05-10 15:16:03 +03:00
1 parent 57abb26c31
commit bc42c27230
6 files changed
+122 -67

No files matched your search

+1 -1
View File
@@ -255,7 +255,7 @@ const Layout = (props: LayoutProps) => {
<TimezoneChangeDialog />
<div className="flex min-h-screen flex-col">
{banners && (
{banners && !props.isPlatformUser && (
<div className="sticky top-0 z-10 w-full divide-y divide-black">
<UserV2OptInBanner />
{Object.keys(banners).map((key) => {