Merged in fix/LOY-105-correct-translation-for-signup-tc (pull request #2167)

fix(LOY-105): use existing translation for t&c text 

* fix(LOY-105): use existing translation for t&c text in signup


Approved-by: Christian Andolf
This commit is contained in:
Chuma Mcphoy (We Ahead)
2025-05-20 14:53:23 +00:00
parent a560f49c21
commit 1b8688c7ee

View File

@@ -6,7 +6,7 @@ export function getErrorMessage(intl: IntlShape, errorCode?: string) {
switch (errorCode) {
case signupErrors.TERMS_REQUIRED:
return intl.formatMessage({
defaultMessage: "Terms & conditions must be accepted",
defaultMessage: "You must accept the terms and conditions",
})
default:
console.warn("Error code not supported:", errorCode)