Skip to content

Commit 3372426

Browse files
authored
Merge pull request #7166 from layer5io/leecalcote/fix-mdx-styles
leecalcote/fix mdx styles
2 parents 1429ad2 + 883fa1f commit 3372426

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • src/sections/Community/Web-based-from

src/sections/Community/Web-based-from/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const validatePictureUrl = (value) => {
3434
}
3535
} catch (err) {
3636
console.error("Error in validatePictureUrl:", err);
37-
error = "Please enter a URL to an image file.";
37+
return "Please enter a URL to an image file.";
3838
}
3939
}
4040
}
@@ -661,4 +661,3 @@ const WebBasedForm = () => {
661661

662662

663663
export default WebBasedForm;
664-

0 commit comments

Comments
 (0)