mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
19 lines
490 B
TypeScript
19 lines
490 B
TypeScript
"use client";
|
|
|
|
import React, { Suspense } from "react";
|
|
|
|
import { ErrorBoundary } from "@calcom/ui/components/errorBoundary";
|
|
import { Icon } from "@calcom/ui/components/icon";
|
|
|
|
export default function TroubleshooterLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<>
|
|
<div className="flex flex-1 [&>*]:flex-1">
|
|
<ErrorBoundary>
|
|
<Suspense fallback={<Icon name="loader" />}>{children}</Suspense>
|
|
</ErrorBoundary>
|
|
</div>
|
|
</>
|
|
);
|
|
}
|