* add UpgradeTipWrapper * refactor insights/layout.tsx --------- Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
17 lines
497 B
TypeScript
17 lines
497 B
TypeScript
import { getTranslate } from "app/_utils";
|
|
|
|
import Shell from "@calcom/features/shell/Shell";
|
|
|
|
import UpgradeTipWrapper from "./UpgradeTipWrapper";
|
|
|
|
export default async function InsightsLayout({ children }: { children: React.ReactNode }) {
|
|
const t = await getTranslate();
|
|
return (
|
|
<div>
|
|
<Shell withoutMain={false} withoutSeo={true} heading={t("insights")} subtitle={t("insights_subtitle")}>
|
|
<UpgradeTipWrapper>{children}</UpgradeTipWrapper>
|
|
</Shell>
|
|
</div>
|
|
);
|
|
}
|