Skip to content
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

Fix ExternalLinkBlock #2106

Merged
merged 2 commits into from
May 23, 2024
Merged

Fix ExternalLinkBlock #2106

merged 2 commits into from
May 23, 2024

Conversation

thomasdax98
Copy link
Member

In #2102 I missed that the url can be undefined because it has an any type and the typing of validateUrl was also incorrect. Now the ExternalLinkBlock breaks when the URL is emptied. This PR fixes that by checking if url is defined.


A changeset isn't necessary because #2102 wasn't released yet.

@thomasdax98 thomasdax98 merged commit 984ebc9 into main May 23, 2024
11 checks passed
@thomasdax98 thomasdax98 deleted the fix-external-link-block branch May 23, 2024 20:13
thomasdax98 added a commit that referenced this pull request May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants