diff --git a/src/components/project/processing-status.tsx b/src/components/project/processing-status.tsx index bee05cee..647af7b2 100644 --- a/src/components/project/processing-status.tsx +++ b/src/components/project/processing-status.tsx @@ -28,7 +28,6 @@ import { Loader2, RefreshCw, X, - Youtube, } from "lucide-react"; import React, { useCallback, useRef, useState } from "react"; @@ -83,9 +82,8 @@ function FileTypeIcon({ fileType }: { fileType: ProcessingItem["fileType"] }) { case "image": return ; case "web": - return ; case "youtube": - return ; + return ; case "audio": return ; default: diff --git a/src/components/ui/url-tag-input.tsx b/src/components/ui/url-tag-input.tsx index b6d32286..34af20ab 100644 --- a/src/components/ui/url-tag-input.tsx +++ b/src/components/ui/url-tag-input.tsx @@ -12,7 +12,7 @@ import { Button } from "@/components/ui/button"; import { type UrlItem, detectUrlType, isValidUrl } from "@/utils/urlTagUtils"; import { TruncatedText } from "@/components/TruncatedText"; -import { ClipboardPaste, Globe, Link, X, Youtube } from "lucide-react"; +import { ClipboardPaste, Globe, Link, X } from "lucide-react"; import React, { useCallback, useRef, @@ -155,7 +155,7 @@ export function UrlTagInput({ urls, onAdd, onRemove }: UrlTagInputProps) { {youtubeUrls.length > 0 && (
- + YouTube ({youtubeUrls.length}) @@ -225,11 +225,7 @@ function UrlItemRow({ url, onRemove }: { url: UrlItem; onRemove: (id: string) => return (
- {url.type === "youtube" ? ( - - ) : ( - - )} + {url.url.replace(/^https?:\/\//, "")}