Scheduling infrastructure for absolutely everyone.
fix: app store title (#17307)
Bailey Pumfleetb6cef49ee604
diff --git a/apps/web/app/future/apps/page.tsx b/apps/web/app/future/apps/page.tsxindex 6334d61e4a0..7509cfb5fd4 100644--- a/apps/web/app/future/apps/page.tsx+++ b/apps/web/app/future/apps/page.tsx@@ -4,7 +4,7 @@ import { WithLayout } from "app/layoutHOC";import { getServerSideProps } from "@lib/apps/getServerSideProps";-import AppsPage, { LayoutWrapper } from "~/apps/apps-view";+import AppsPage from "~/apps/apps-view";export const generateMetadata = async () => {return await _generateMetadata(@@ -14,7 +14,6 @@ export const generateMetadata = async () => {};export default WithLayout({- getLayout: LayoutWrapper,getData: withAppDirSsr(getServerSideProps),Page: AppsPage,});diff --git a/apps/web/components/apps/layouts/AppsLayout.tsx b/apps/web/components/apps/layouts/AppsLayout.tsxindex a382d88cea9..55586a22975 100644--- a/apps/web/components/apps/layouts/AppsLayout.tsx+++ b/apps/web/components/apps/layouts/AppsLayout.tsx@@ -3,7 +3,7 @@ import { useRouter } from "next/navigation";import type { ComponentProps } from "react";import React from "react";-import { ShellMain } from "@calcom/features/shell/Shell";+import Shell from "@calcom/features/shell/Shell";import { useLocale } from "@calcom/lib/hooks/useLocale";import { EmptyScreen } from "@calcom/ui";@@ -11,7 +11,7 @@ type AppsLayoutProps = {children: React.ReactNode;actions?: (className?: string) => JSX.Element;emptyStore?: boolean;-} & Omit<ComponentProps<typeof ShellMain>, "actions">;+} & Omit<ComponentProps<typeof Shell>, "actions">;export default function AppsLayout({ children, actions, emptyStore, ...rest }: AppsLayoutProps) {const { t } = useLocale();@@ -21,7 +21,7 @@ export default function AppsLayout({ children, actions, emptyStore, ...rest }: Aif (session.status === "loading") return <></>;return (- <ShellMain {...rest} actions={actions?.("block")} hideHeadingOnMobile>+ <Shell {...rest} actions={actions?.("block")} hideHeadingOnMobile><div className="flex flex-col xl:flex-row"><main className="w-full">{emptyStore ? (@@ -37,6 +37,6 @@ export default function AppsLayout({ children, actions, emptyStore, ...rest }: A)}</main></div>- </ShellMain>+ </Shell>);}diff --git a/apps/web/modules/apps/apps-view.tsx b/apps/web/modules/apps/apps-view.tsxindex bf5eacc7872..411ee415ed2 100644--- a/apps/web/modules/apps/apps-view.tsx+++ b/apps/web/modules/apps/apps-view.tsx@@ -3,7 +3,6 @@import type { ChangeEventHandler } from "react";import { useState } from "react";-import Shell from "@calcom/features/shell/Shell";import { classNames } from "@calcom/lib";import { useLocale } from "@calcom/lib/hooks/useLocale";import type { inferSSRProps } from "@calcom/types/inferSSRProps";@@ -96,17 +95,3 @@ export default function Apps({ categories, appStore, userAdminTeams }: PageProps</AppsLayout>);}--export const LayoutWrapper = (page: React.ReactElement) => {- const { t } = useLocale();-- return (- <Shell- title={t("app_store")}- description={t("app_store_description")}- withoutMain={true}- hideHeadingOnMobile>- {page}- </Shell>- );-};diff --git a/apps/web/pages/apps/index.tsx b/apps/web/pages/apps/index.tsxindex 60dfa237b97..37a72233bc3 100644--- a/apps/web/pages/apps/index.tsx+++ b/apps/web/pages/apps/index.tsx@@ -3,12 +3,11 @@ import { getServerSideProps } from "@lib/apps/getServerSideProps";import PageWrapper from "@components/PageWrapper";import type { PageProps } from "~/apps/apps-view";-import Apps, { LayoutWrapper } from "~/apps/apps-view";+import Apps from "~/apps/apps-view";const Page = (props: PageProps) => <Apps {...props} />;Page.PageWrapper = PageWrapper;-Page.getLayout = LayoutWrapper;export { getServerSideProps };