From 4bf5de6e5d32e88a1f16ceedaddc3f5e1110d2e9 Mon Sep 17 00:00:00 2001 From: MarconLP <13001502+MarconLP@users.noreply.github.com> Date: Mon, 1 May 2023 21:50:40 +0200 Subject: [PATCH] set billedAnually to true as default --- src/components/Paywall.tsx | 2 +- src/pages/pricing.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Paywall.tsx b/src/components/Paywall.tsx index 9d9d744..f9dfd08 100644 --- a/src/components/Paywall.tsx +++ b/src/components/Paywall.tsx @@ -14,7 +14,7 @@ export default function Paywall() { api.stripe.createCheckoutSession.useMutation(); const router = useRouter(); const [open, setOpen] = useAtom(paywallAtom); - const [billedAnnually, setBilledAnnually] = useState(false); + const [billedAnnually, setBilledAnnually] = useState(true); const posthog = usePostHog(); function closeModal() { diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsx index 7d9b867..8a72a0c 100644 --- a/src/pages/pricing.tsx +++ b/src/pages/pricing.tsx @@ -10,7 +10,7 @@ import CTA from "~/components/CTA"; import VideoRecordModal from "~/components/VideoRecordModal"; export default function Pricing() { - const [billedAnnually, setBilledAnnually] = useState(false); + const [billedAnnually, setBilledAnnually] = useState(true); return ( <>