diff --git a/components/billing/expiry-time-countdown.tsx b/components/billing/expiry-time-countdown.tsx index a5a7188..59e0ab4 100644 --- a/components/billing/expiry-time-countdown.tsx +++ b/components/billing/expiry-time-countdown.tsx @@ -15,7 +15,7 @@ const HumanizeTimeLeft = (seconds: number) => { return `${minutes}m ${remainingSeconds}s` } -export default function ExpiryCountDown({ expiresAt }: { expiresAt: string }) { +export default function ExpiryCountDown({ expiresAt, expiryLabel }: { expiresAt: string, expiryLabel: string }) { const [timeLeft, setTimeLeft] = useState(calculateTimeLeft(expiresAt)) const [mounted, setMounted] = useState(false) const router = useRouter() @@ -47,7 +47,7 @@ export default function ExpiryCountDown({ expiresAt }: { expiresAt: string }) { {timeLeft ? ( Time left: {HumanizeTimeLeft(timeLeft)} ) : ( - Top up has expired. Please make another topup to add balance to your wallet. + {expiryLabel} has expired. )} {timeLeft > 0 && (