Deployment providers refactoring

This commit is contained in:
Alex Gleason committed 2026-01-03 18:49:54 -06:00
1 parent cb3fb88a75
commit 1915e6044f
7 files changed
+168 -348

No files matched your search

+2 -1
View File
@@ -5,7 +5,7 @@ import { ReactNode, useMemo } from 'react';
interface ExternalFaviconProps {
/** The URL to fetch the favicon for */
url: string | URL;
url: string | URL | undefined;
/** Size of the favicon in pixels */
size?: number;
/** Fallback element to display if favicon fails to load */
@@ -28,6 +28,7 @@ export function ExternalFavicon({
// Generate the favicon URL using the configured template
const faviconSrc = useMemo(() => {
if (!url) return;
try {
// Normalize the URL to ensure it has a protocol
return faviconUrl(config.faviconUrl, url);