diff --git a/app/FramesList/FrameItem.tsx b/app/FramesList/FrameItem.tsx index 131fbc8..55adf86 100644 --- a/app/FramesList/FrameItem.tsx +++ b/app/FramesList/FrameItem.tsx @@ -5,14 +5,6 @@ export type SourceData = { category?: string; }; -function getHostname(sourceUrl: string) { - try { - return new URL(sourceUrl).hostname.replace(/^www\./, ""); - } catch { - return sourceUrl; - } -} - export function FrameItem({ source, isFavorite = false, @@ -24,8 +16,6 @@ export function FrameItem({ onToggleFavorite?: (url: string) => void; onOpen?: (url: string, title?: string) => void; }) { - const hostname = getHostname(source.URL); - return (
@@ -49,12 +39,6 @@ export function FrameItem({
-
- - {hostname} - -
-