From de1824e06d71874fd411ed6ab0d09126bd6b62f8 Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Sat, 17 Jan 2026 19:06:29 +0000 Subject: [PATCH] Generated by Spark: When your viewing code, theres two x buttons --- src/components/SnippetViewer.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/components/SnippetViewer.tsx b/src/components/SnippetViewer.tsx index 6fa6e93..df9691a 100644 --- a/src/components/SnippetViewer.tsx +++ b/src/components/SnippetViewer.tsx @@ -6,7 +6,7 @@ import { } from '@/components/ui/dialog' import { Button } from '@/components/ui/button' import { Badge } from '@/components/ui/badge' -import { Copy, Pencil, X, Check, SplitVertical } from '@phosphor-icons/react' +import { Copy, Pencil, Check, SplitVertical } from '@phosphor-icons/react' import { Snippet } from '@/lib/types' import { MonacoEditor } from '@/components/MonacoEditor' import { ReactPreview } from '@/components/ReactPreview' @@ -111,14 +111,6 @@ export function SnippetViewer({ snippet, open, onOpenChange, onEdit, onCopy }: S {strings.snippetViewer.buttons.edit} -