set billedAnually to true as default

This commit is contained in:
MarconLP 2023-05-01 21:50:40 +02:00
parent d7d5152a04
commit 4bf5de6e5d
No known key found for this signature in database
GPG key ID: A08A9C8B623F5EA5
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ export default function Paywall() {
api.stripe.createCheckoutSession.useMutation();
const router = useRouter();
const [open, setOpen] = useAtom(paywallAtom);
const [billedAnnually, setBilledAnnually] = useState<boolean>(false);
const [billedAnnually, setBilledAnnually] = useState<boolean>(true);
const posthog = usePostHog();
function closeModal() {

View file

@ -10,7 +10,7 @@ import CTA from "~/components/CTA";
import VideoRecordModal from "~/components/VideoRecordModal";
export default function Pricing() {
const [billedAnnually, setBilledAnnually] = useState<boolean>(false);
const [billedAnnually, setBilledAnnually] = useState<boolean>(true);
return (
<>