Skip to content

Commit 108b2cc

Browse files
committed
fix: fallback source
1 parent 56823e3 commit 108b2cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/rich-link/Favicon.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const Favicon: Component<FaviconProps> = (props) => {
6262
try {
6363
if (href) {
6464
const url = new URL(href)
65-
nextSource = getUrlSource(url)
65+
nextSource = getUrlSource(url) ?? source
6666
}
6767
} catch {
6868
/* empty */

0 commit comments

Comments
 (0)