1 Commits
Author SHA1 Message Date
mohammad 1d9d620d67 Merge pull request 'feat(seo): coming-soon industry pages and round-2 title fixes' (#2) from seo-round-2 into main
CI/CD / deploy (push) Canceled after 0s
CI/CD / test-and-build (push) Canceled after 0s
Reviewed-on: #2
2026-10-19 09:52:53 +00:00
+1 -4
View File
@@ -9,10 +9,7 @@ import { PaymentStep } from './checkout/PaymentStep';
import { ReviewStep } from './checkout/ReviewStep'; import { ReviewStep } from './checkout/ReviewStep';
import { ConfirmationStep } from './checkout/ConfirmationStep'; import { ConfirmationStep } from './checkout/ConfirmationStep';
// Without a publishable key (local builds), loadStripe throws on every page that const stripePromise = loadStripe(process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY!);
// imports this module. Elements accepts null and the payment step stays empty.
const publishableKey = process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY;
const stripePromise = publishableKey ? loadStripe(publishableKey) : null;
const STEPS: { id: CheckoutStep; label: string }[] = [ const STEPS: { id: CheckoutStep; label: string }[] = [
{ id: 'shipping', label: 'Shipping' }, { id: 'shipping', label: 'Shipping' },