From eb0a28ee6b1dd15fb459e0900f5e885ac5c92fec Mon Sep 17 00:00:00 2001
From: kamtschatka <simon.schatka@gmx.at>
Date: Sun, 21 Jul 2024 23:36:11 +0200
Subject: refactor: Remove unused BookmarkedTextViewer (#310)

---
 .../dashboard/bookmarks/BookmarkedTextViewer.tsx   | 23 ----------------------
 1 file changed, 23 deletions(-)
 delete mode 100644 apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx

(limited to 'apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx')

diff --git a/apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx b/apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx
deleted file mode 100644
index 88382cf7..00000000
--- a/apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import { Dialog, DialogContent } from "@/components/ui/dialog";
-import Markdown from "react-markdown";
-import remarkGfm from "remark-gfm";
-
-export function BookmarkedTextViewer({
-  content,
-  open,
-  setOpen,
-}: {
-  content: string;
-  open: boolean;
-  setOpen: (open: boolean) => void;
-}) {
-  return (
-    <Dialog open={open} onOpenChange={setOpen}>
-      <DialogContent className="max-h-[75%] overflow-auto">
-        <Markdown remarkPlugins={[remarkGfm]} className="prose">
-          {content}
-        </Markdown>
-      </DialogContent>
-    </Dialog>
-  );
-}
-- 
cgit v1.2.3-70-g09d2

