Closed rchtgpt closed 3 years ago
@dotrachit I'll take it up Just help me a little here, which file should I put the regex in?
@dotrachit I'll take it up Just help me a little here, which file should I put the regex in?
You can add the validator in https://github.com/dotrachit/summit/blob/main/src/components/summarizer.js
Describe the bug If the user enters a link of the wrong format, our website tries to process it but doesn't give an error message when it fails.
To Reproduce Steps to reproduce the behavior:
https://medium.com/@<username>/<post-id>
Expected behavior An appropriate error message should be displayed telling the user that the link entered is incorrect.
Desktop (please complete the following information):