fix: type error in payment page (#20366)

This commit is contained in:
Benny Joo
2025-03-26 01:48:27 +00:00
committed by GitHub
parent 2a2e2871a8
commit dcc079773b
@@ -117,7 +117,7 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
<div className="col-span-2 mb-6">{eventName}</div>
<div className="font-medium">{t("when")}</div>
<div className="col-span-2 mb-6">
{date.locale(i18n.language).format("dddd, DD MMMM YYYY")}
{date.locale(i18n.language ?? "en").format("dddd, DD MMMM YYYY")}
<br />
{date.format(is24h ? "H:mm" : "h:mma")} - {props.eventType.length} mins{" "}
<span className="text-subtle">({timezone})</span>