Fix/Keep themes in peace across embed and booking pages and App (#8108)
This commit is contained in:
1 parent
39c48e7f79
commit
2c96444058
20 files changed
+86
-49
No files matched your search
@@ -332,7 +332,6 @@ export default function FormEditPage({
|
||||
/>
|
||||
);
|
||||
}
|
||||
FormEditPage.isThemeSupported = true;
|
||||
|
||||
FormEditPage.getLayout = (page: React.ReactElement) => {
|
||||
return (
|
||||
|
||||
@@ -252,8 +252,6 @@ export default function RoutingForms({
|
||||
);
|
||||
}
|
||||
|
||||
RoutingForms.isThemeSupported = true;
|
||||
|
||||
RoutingForms.getLayout = (page: React.ReactElement) => {
|
||||
return <Shell withoutMain={true}>{page}</Shell>;
|
||||
};
|
||||
|
||||
@@ -197,8 +197,6 @@ export default function ReporterWrapper({
|
||||
);
|
||||
}
|
||||
|
||||
ReporterWrapper.isThemeSupported = true;
|
||||
|
||||
ReporterWrapper.getLayout = (page: React.ReactElement) => {
|
||||
return (
|
||||
<Shell backPath="/apps/routing-forms/forms" withoutMain={true}>
|
||||
|
||||
@@ -523,7 +523,6 @@ export default function RouteBuilder({
|
||||
/>
|
||||
);
|
||||
}
|
||||
RouteBuilder.isThemeSupported = true;
|
||||
|
||||
RouteBuilder.getLayout = (page: React.ReactElement) => {
|
||||
return (
|
||||
|
||||
@@ -26,8 +26,6 @@ export default function Router({ form, message }: inferSSRProps<typeof getServer
|
||||
);
|
||||
}
|
||||
|
||||
Router.isThemeSupported = true;
|
||||
|
||||
const querySchema = z
|
||||
.object({
|
||||
form: z.string(),
|
||||
|
||||
@@ -165,7 +165,7 @@ export default function RoutingLink(props: inferSSRProps<typeof getServerSidePro
|
||||
return <RoutingForm {...props} />;
|
||||
}
|
||||
|
||||
RoutingLink.isThemeSupported = true;
|
||||
RoutingLink.isBookingPage = true;
|
||||
|
||||
export const getServerSideProps = async function getServerSideProps(
|
||||
context: AppGetServerSidePropsContext,
|
||||
|
||||
Reference in new issue
Block a user