feat: copied to clipboard notify

This commit is contained in:
karishmas6
2024-10-03 05:10:49 +05:30
parent 35d2c75b15
commit cfd7d07846

View File

@@ -81,6 +81,7 @@ const ApiKeyManager = () => {
navigator.clipboard.writeText(apiKey);
setCopySuccess(true);
setTimeout(() => setCopySuccess(false), 2000);
notify('info', 'API Key copied to clipboard');
}
};