diff --git a/desktop/src/shared/ui/compact-link-preview-attachment.tsx b/desktop/src/shared/ui/compact-link-preview-attachment.tsx
index 90fbf448a..73ec27769 100644
--- a/desktop/src/shared/ui/compact-link-preview-attachment.tsx
+++ b/desktop/src/shared/ui/compact-link-preview-attachment.tsx
@@ -1,5 +1,3 @@
-import { Globe } from "lucide-react";
-
import type { ResolvedLinkPreview } from "@/shared/lib/useResolvedLinkPreviews";
import { cn } from "@/shared/lib/cn";
import {
@@ -12,84 +10,6 @@ import {
} from "@/shared/ui/attachment";
import { LinkPreviewControls } from "@/shared/ui/link-preview-controls";
-function LinearLogo({ className }: { className?: string }) {
- return (
-
- );
-}
-
-function GitHubLogo({ className }: { className?: string }) {
- return (
-
- );
-}
-
-function GoogleDriveLogo({ className }: { className?: string }) {
- return (
-
- );
-}
-
-function GoogleDocsLogo({ className }: { className?: string }) {
- return (
-
- );
-}
-
-function GoogleSheetsLogo({ className }: { className?: string }) {
- return (
-
- );
-}
-
-function GoogleSlidesLogo({ className }: { className?: string }) {
- return (
-
- );
-}
-
function getHostname(preview: ResolvedLinkPreview): string {
try {
return new URL(preview.href).hostname.replace(/^www\./, "");
@@ -98,40 +18,6 @@ function getHostname(preview: ResolvedLinkPreview): string {
}
}
-function LinkPreviewLogo({ preview }: { preview: ResolvedLinkPreview }) {
- if (preview.faviconDataUrl) {
- return (
-
- );
- }
-
- switch (preview.kind) {
- case "github-issue":
- case "github-pull-request":
- case "github-repository":
- return