From 400b589072a54d89b4d2156facebdbcdb45ef820 Mon Sep 17 00:00:00 2001 From: Venkataramanan Venkateswaran Date: Tue, 24 Feb 2026 09:55:25 -0800 Subject: [PATCH] Venkataramanan fix: remove duplicate copy to clipboard icon component --- .../NotFound/NotFoundPage.module.css | 4 ---- .../common/Clipboard/CopyToClipboard_2.jsx | 22 ------------------- .../common/Clipboard/style_2.module.css | 4 ---- 3 files changed, 30 deletions(-) delete mode 100644 src/components/common/Clipboard/CopyToClipboard_2.jsx delete mode 100644 src/components/common/Clipboard/style_2.module.css diff --git a/src/components/NotFound/NotFoundPage.module.css b/src/components/NotFound/NotFoundPage.module.css index 226d20d906..37fb511b8a 100644 --- a/src/components/NotFound/NotFoundPage.module.css +++ b/src/components/NotFound/NotFoundPage.module.css @@ -10,10 +10,6 @@ top: 0; } -body, -html { - overflow: hidden; -} .notFoundContent { padding: 5px; border-radius: 20px; diff --git a/src/components/common/Clipboard/CopyToClipboard_2.jsx b/src/components/common/Clipboard/CopyToClipboard_2.jsx deleted file mode 100644 index c5ac019aa4..0000000000 --- a/src/components/common/Clipboard/CopyToClipboard_2.jsx +++ /dev/null @@ -1,22 +0,0 @@ -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faCopy } from '@fortawesome/free-solid-svg-icons'; -import { toast } from 'react-toastify'; -import styles from './style.module.css'; - -// eslint-disable-next-line react/function-component-definition -const CopyToClipboard = ({ writeText, message }) => { - const handleCopyToClipboard = () => { - navigator.clipboard.writeText(writeText); - toast.success(message); - }; - - return ( - - ); -}; - -export default CopyToClipboard; diff --git a/src/components/common/Clipboard/style_2.module.css b/src/components/common/Clipboard/style_2.module.css deleted file mode 100644 index fb6b43c97e..0000000000 --- a/src/components/common/Clipboard/style_2.module.css +++ /dev/null @@ -1,4 +0,0 @@ -.copyToClipboard { - cursor: pointer; - margin-right: 10px; -}