mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-19 00:51:06 -06:00
fix: removing layout from dashboard/charts detail pages
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
export default function DashboardLayout({ children }: { children: React.ReactNode }) {
|
||||
return children;
|
||||
}
|
||||
@@ -38,7 +38,7 @@ export function DashboardDetailClient({
|
||||
};
|
||||
|
||||
return (
|
||||
<PageContentWrapper>
|
||||
<div>
|
||||
<GoBackButton url={`/environments/${environmentId}/analysis/dashboards`} />
|
||||
<PageHeader
|
||||
pageTitle={dashboard.name}
|
||||
@@ -73,6 +73,6 @@ export function DashboardDetailClient({
|
||||
</div>
|
||||
)}
|
||||
</section>
|
||||
</PageContentWrapper>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ export async function DashboardDetailPage({
|
||||
if (!dashboard) {
|
||||
return notFound();
|
||||
}
|
||||
|
||||
|
||||
return <DashboardDetailClient dashboard={dashboard} environmentId={environmentId} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user