bugfix - issue with PriceToggle

This commit is contained in:
James Wyndham 2024-02-22 16:23:08 +08:00
parent 28e5d2c9eb
commit d00dba19a6
1 changed files with 5 additions and 3 deletions

View File

@ -28,9 +28,11 @@ const Payment = ({
}, []);
return (
<>
{!(type == "one_time") && (
<div className="flex items-center justify-center mt-10">
<PriceToggle isAnnual={isAnnual} onChange={handleToggle} />
</div>
)}
<div className="max-w-6xl mx-auto mb-24 h-full">
<div
className={`w-screen lg:w-full flex gap-x-4 lg:justify-center gap-y-8 px-6 pt-12 overflow-x-scroll`}