Skip to content

Commit

Permalink
Copy api key instead of device name (#805)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan authored Jan 30, 2024
1 parent c894195 commit e03e5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/tabs/ApiKeys.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const ApiKeys = () => {

const handleCopyToClipboard = useEventCallback(() => {
if (!isTokenGenerated) return;
copy(deviceName).then((isCopied) => {
copy(createdToken).then((isCopied) => {
if (!isCopied) return;
toast.success('Copied', 'API Key has been copied to clipboard!', {
autoClose: 3000,
Expand Down

0 comments on commit e03e5f3

Please sign in to comment.