@undp/carbon-library 1.0.262-CARBON-386.1 → 1.0.262-CARBON-386.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -6131,7 +6131,7 @@ var AddNewCompanyComponent = function (props) {
6131
6131
  ? val.match(reg)
6132
6132
  : [];
6133
6133
  if (matches.length === 0) {
6134
- throw new Error("Email ".concat(t("isInvalid")));
6134
+ throw new Error("".concat(t("addCompany:email"), " ").concat(t("isInvalid")));
6135
6135
  }
6136
6136
  }
6137
6137
  return [2 /*return*/];