@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/cjs/index.js CHANGED
@@ -6151,7 +6151,7 @@ var AddNewCompanyComponent = function (props) {
6151
6151
  ? val.match(reg)
6152
6152
  : [];
6153
6153
  if (matches.length === 0) {
6154
- throw new Error("Email ".concat(t("isInvalid")));
6154
+ throw new Error("".concat(t("addCompany:email"), " ").concat(t("isInvalid")));
6155
6155
  }
6156
6156
  }
6157
6157
  return [2 /*return*/];