Merge pull request #858 from cliffhall/fix-lint

Fix linter complaints
This commit is contained in:
Ola Hungerford 2025-10-10 19:08:26 -07:00 • committed by GitHub
commit f013291f34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@ function useCopy({ timeout = 500 }: UseCopyProps = {}) {
clearTimeout(timeoutId);
}
};
}, [copied]);
}, [copied, timeout]);
return { copied, setCopied };
}