From 0221c96cd8cb0cb407e0d74070b86692f6d44015 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 3 Oct 2024 02:50:54 +0530 Subject: [PATCH] chore: -rm comments --- src/components/organisms/ApiKey.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/organisms/ApiKey.tsx b/src/components/organisms/ApiKey.tsx index 5e33c67d..7d38bb30 100644 --- a/src/components/organisms/ApiKey.tsx +++ b/src/components/organisms/ApiKey.tsx @@ -14,7 +14,6 @@ import styled from 'styled-components'; import axios from 'axios'; import { useGlobalInfoStore } from '../../context/globalInfo'; -// Styled components const Container = styled(Box)` display: flex; flex-direction: column; @@ -40,7 +39,6 @@ const ApiKey = () => { const {notify} = useGlobalInfoStore(); - // Fetch API Key on mount useEffect(() => { const fetchApiKey = async () => { try { @@ -57,7 +55,6 @@ const ApiKey = () => { fetchApiKey(); }, []); - // Handle API Key generation const generateApiKey = async () => { setLoading(true); try { @@ -71,7 +68,6 @@ const ApiKey = () => { } }; - // Copy to clipboard handler const copyToClipboard = () => { if (apiKey) { navigator.clipboard.writeText(apiKey); @@ -80,7 +76,6 @@ const ApiKey = () => { } }; - // Toggle key visibility const toggleShowKey = () => { setShowKey(!showKey); };