-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: add graceful fallback alternatives for img and link in toolkitpage #70
Conversation
✅ Deploy Preview for thingswedo ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks Tanya we can close this one hopefully now, just let me know if you definetely need that commented out code or if we can remove and then I will merge
// const isValidUrl = (url: string | undefined): boolean => { | ||
// if (!url) return false; | ||
// try { | ||
// new URL(url); | ||
// return true; | ||
// } catch { | ||
// return false; | ||
// } | ||
// }; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// const isValidUrl = (url: string | undefined): boolean => { | |
// if (!url) return false; | |
// try { | |
// new URL(url); | |
// return true; | |
// } catch { | |
// return false; | |
// } | |
// }; | |
// const isValidUrl = (url: string | undefined): boolean => { | |
// if (!url) return false; | |
// try { | |
// new URL(url); | |
// return true; | |
// } catch { | |
// return false; | |
// } | |
// }; |
Do we need to add this commented out code? [will not block merge]
What type of PR is this? (check all applicable)
Description
Screenshots
UI accessibility checklist
If your PR includes UI changes, please utilize this checklist:
Critical
andSerious
issues?Added/updated tests?
Please aim to keep the code coverage percentage at 80% and above.
Delete branch after merge?
What gif best describes this PR or how it makes you feel?