Skip to content

Commit

Permalink
simplified i18n call
Browse files Browse the repository at this point in the history
  • Loading branch information
dunkOnIT committed Feb 3, 2025
1 parent 0c2f48f commit cb82377
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ export default function PaymentStep({

if (!competitionInfo['registration_currently_open?']) {
return (
<Message color="red">
<I18nHTMLTranslate i18nKey="registrations.payment_form.errors.registration_closed" />
</Message>
<Message color="red">{I18n.t('registrations.payment_form.errors.registration_closed')}</Message>
);
}

Expand Down

0 comments on commit cb82377

Please sign in to comment.