Removed shell from troubleshooter (#13303)

Co-authored-by: sean-brydon <[email protected]>
This commit is contained in:
Peer Richelsenandsean-brydon authored and GitHub committed 2024-01-20 10:29:12 -03:00
1 parent ff1aefe539
commit 30b433397a
1 file changed
+6 -9
+6 -9
View File
@@ -1,22 +1,19 @@
import type { ComponentProps } from "react";
import React, { Suspense } from "react";
import Shell from "@calcom/features/shell/Shell";
import type Shell from "@calcom/features/shell/Shell";
import { ErrorBoundary } from "@calcom/ui";
import { Loader } from "@calcom/ui/components/icon";
export default function TroubleshooterLayout({
children,
...rest
}: { children: React.ReactNode } & ComponentProps<typeof Shell>) {
return (
<Shell withoutSeo={true} flexChildrenContainer hideHeadingOnMobile {...rest} SidebarContainer={<></>}>
<div className="flex flex-1 [&>*]:flex-1">
<ErrorBoundary>
<Suspense fallback={<Loader />}>{children}</Suspense>
</ErrorBoundary>
</div>
</Shell>
<div className="flex flex-1 [&>*]:flex-1">
<ErrorBoundary>
<Suspense fallback={<Loader />}>{children}</Suspense>
</ErrorBoundary>
</div>
);
}