Skip to content

Commit 323e9d7

Browse files
committed
[TOOL-3572] Dashboard:Fix theming issue in engine pages (#6389)
1 parent 80ae08b commit 323e9d7

File tree

1 file changed

+4
-4
lines changed
  • apps/dashboard/src/app/team/[team_slug]/(team)/~/engine/(instance)/[engineId]

1 file changed

+4
-4
lines changed

apps/dashboard/src/app/team/[team_slug]/(team)/~/engine/(instance)/[engineId]/layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
BreadcrumbSeparator,
88
} from "@/components/ui/breadcrumb";
99
import type { EngineInstance } from "@3rdweb-sdk/react/hooks/useEngine";
10-
import { ChakraProvider } from "@chakra-ui/react";
10+
import { ChakraProviderSetup } from "../../../../../../../../@/components/ChakraProviderSetup";
1111
import { getValidAccount } from "../../../../../../../account/settings/getAccount";
1212
import { getAuthToken } from "../../../../../../../api/lib/getAuthToken";
1313
import { loginRedirect } from "../../../../../../../login/loginRedirect";
@@ -54,7 +54,7 @@ export default async function Layout(props: {
5454
}
5555

5656
return (
57-
<ChakraProvider>
57+
<ChakraProviderSetup>
5858
<div className="flex grow flex-col">
5959
<EngineInstanceHeader
6060
instance={instance}
@@ -77,7 +77,7 @@ export default async function Layout(props: {
7777
</EnsureEnginePermission>
7878
</EngineSidebarLayout>
7979
</div>
80-
</ChakraProvider>
80+
</ChakraProviderSetup>
8181
);
8282
}
8383

@@ -92,7 +92,7 @@ function EngineInstanceHeader(props: {
9292
: instance.url;
9393

9494
return (
95-
<div className="border-b">
95+
<div className="border-border border-b">
9696
<div className="container py-6">
9797
<Breadcrumb>
9898
<BreadcrumbList>

0 commit comments

Comments
 (0)