react-hook icon indicating copy to clipboard operation
react-hook copied to clipboard

Possible Bug based On Code Comments

Open amast09 opened this issue 5 years ago • 1 comments

Describe the bug This isn't necessarily a bug, however I thought I would point it out in case it is unintentional.

The useTimeoutCallback function here, only has 2 parameters (callback and ms) however the code comment here references an additional dependencies parameter.

Not sure if this is a code comment that is stale or additional code that is missing.

I hope this was helpful, thanks!

amast09 avatar Jun 29 '20 13:06 amast09

You're right, dependencies is a stale comment. Will fix it soon. Thanks for the report!

jaredLunde avatar Jun 29 '20 18:06 jaredLunde