das marketing frontend wurde auf lokalisierte urls umgestellt.
This commit is contained in:
@@ -21,13 +21,13 @@ interface CheckoutWizardPageProps {
|
||||
};
|
||||
}
|
||||
|
||||
export default function CheckoutWizardPage({
|
||||
const CheckoutWizardPage: React.FC<CheckoutWizardPageProps> = ({
|
||||
package: initialPackage,
|
||||
packageOptions,
|
||||
privacyHtml,
|
||||
googleAuth,
|
||||
paddle,
|
||||
}: CheckoutWizardPageProps) {
|
||||
}) => {
|
||||
const page = usePage<{ auth?: { user?: { id: number; email: string; name?: string; pending_purchase?: boolean } | null } }>();
|
||||
const currentUser = page.props.auth?.user ?? null;
|
||||
const googleProfile = googleAuth?.profile ?? null;
|
||||
@@ -75,4 +75,8 @@ export default function CheckoutWizardPage({
|
||||
</div>
|
||||
</MarketingLayout>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
CheckoutWizardPage.layout = (page: React.ReactNode) => page;
|
||||
|
||||
export default CheckoutWizardPage;
|
||||
|
||||
Reference in New Issue
Block a user