diff --git a/components/Shell.tsx b/components/Shell.tsx index 34c49c69..5f631cc7 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -60,9 +60,10 @@ function useRedirectToLoginIfUnauthenticated() { } export default function Shell(props: { + centered?: boolean; title?: string; heading: ReactNode; - subtitle: string; + subtitle?: ReactNode; children: ReactNode; CTA?: ReactNode; }) { @@ -122,7 +123,7 @@ export default function Shell(props: { <>
- {/* Static sidebar for desktop */}
- {/* Sidebar component, swap this element with another sidebar if you like */}
@@ -199,7 +198,7 @@ export default function Shell(props: {
-
+

diff --git a/pages/event-types/[type].tsx b/pages/event-types/[type].tsx index 2a8dd71d..8bc35e22 100644 --- a/pages/event-types/[type].tsx +++ b/pages/event-types/[type].tsx @@ -322,9 +322,10 @@ const EventTypePage = (props: inferSSRProps) => { return (
setEditIcon(false)}> +
setEditIcon(false)}>