fix: hide redirect text when no payment method is selected

This commit is contained in:
Usman Baig
2026-03-27 22:12:29 +01:00
parent 6aea24f018
commit 23132a5194

View File

@@ -294,7 +294,7 @@ export default function PaymentForm({ plan, interval, limit, country, vatId }: P
{/* Non-card info */}
<AnimatePresence>
{!isCard && (
{selectedMethod && !isCard && (
<motion.p
initial={{ opacity: 0, height: 0 }}
animate={{ opacity: 1, height: 'auto' }}