Skip to content

Commit

Permalink
global: strings with url/Url should be URL
Browse files Browse the repository at this point in the history
  • Loading branch information
chriz-uniba authored and kpsherva committed Aug 4, 2022
1 parent fbf1bb2 commit 070db36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/Funding/FundingModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const CustomFundingSchema = Yup.object().shape({
.url(i18next.t("URL must be valid."))
.test({
name: "validateUrlDependencies",
message: i18next.t("Url must be set alongside title and number."),
message: i18next.t("URL must be set alongside title and number."),
test: function testUrl(value) {
const { title, number } = this.parent;

Expand Down

0 comments on commit 070db36

Please sign in to comment.