feat: api key copy notify
This commit is contained in:
@@ -88,7 +88,7 @@ const ApiKeyManager = () => {
|
|||||||
navigator.clipboard.writeText(apiKey);
|
navigator.clipboard.writeText(apiKey);
|
||||||
setCopySuccess(true);
|
setCopySuccess(true);
|
||||||
setTimeout(() => setCopySuccess(false), 2000);
|
setTimeout(() => setCopySuccess(false), 2000);
|
||||||
notify('info', 'Copied to clipboard');
|
notify('info', 'Copied API Key successfully');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user