From cb82377d029db6b96c7e6e7faab0c4984c1f6608 Mon Sep 17 00:00:00 2001 From: Duncan Date: Mon, 3 Feb 2025 10:19:55 +0200 Subject: [PATCH] simplified i18n call --- .../components/RegistrationsV2/Register/PaymentStep.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/webpacker/components/RegistrationsV2/Register/PaymentStep.jsx b/app/webpacker/components/RegistrationsV2/Register/PaymentStep.jsx index 2cf465d347..9574250e53 100644 --- a/app/webpacker/components/RegistrationsV2/Register/PaymentStep.jsx +++ b/app/webpacker/components/RegistrationsV2/Register/PaymentStep.jsx @@ -90,9 +90,7 @@ export default function PaymentStep({ if (!competitionInfo['registration_currently_open?']) { return ( - - - + {I18n.t('registrations.payment_form.errors.registration_closed')} ); }