fix: Text relayout caused by external link decorations rendered async

This commit is contained in:
Tom Moor
2022-04-03 16:48:40 -07:00
parent 41579eb4bf
commit cf71fc1108
3 changed files with 23 additions and 13 deletions

View File

@@ -28,3 +28,7 @@ export function isInternalUrl(href: string) {
return false;
}
export function isExternalUrl(href: string) {
return !isInternalUrl(href);
}