From 835ffd6c75b176a1c2eee7f1f7b058f823a9b678 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Wed, 14 Jun 2023 20:39:43 +0100 Subject: [PATCH] Remove un-necessary editor --- src/components/Editor.tsx | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 src/components/Editor.tsx diff --git a/src/components/Editor.tsx b/src/components/Editor.tsx deleted file mode 100644 index adda42323..000000000 --- a/src/components/Editor.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { useCopyText } from '../hooks/use-copy-text'; -import CopyIcon from '../icons/copy.svg'; - -type EditorProps = { - title: string; - text: string; -}; - -export function Editor(props: EditorProps) { - const { text, title } = props; - const { isCopied, copyText } = useCopyText(); - - return ( -
-
- - {title} - - -
- -
- ); -}