fix: hide redirect text when no payment method is selected
This commit is contained in:
@@ -294,7 +294,7 @@ export default function PaymentForm({ plan, interval, limit, country, vatId }: P
|
|||||||
|
|
||||||
{/* Non-card info */}
|
{/* Non-card info */}
|
||||||
<AnimatePresence>
|
<AnimatePresence>
|
||||||
{!isCard && (
|
{selectedMethod && !isCard && (
|
||||||
<motion.p
|
<motion.p
|
||||||
initial={{ opacity: 0, height: 0 }}
|
initial={{ opacity: 0, height: 0 }}
|
||||||
animate={{ opacity: 1, height: 'auto' }}
|
animate={{ opacity: 1, height: 'auto' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user