mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-13 19:55:26 -04:00
lengthen cache-control headers
This commit is contained in:
@@ -66,7 +66,9 @@ const CopyButton = forwardRef(function CopyButton(
|
||||
}, timeout);
|
||||
|
||||
// cancel timeout to avoid memory leaks if unmounted in the middle of this
|
||||
return () => clearTimeout(reset);
|
||||
return () => {
|
||||
clearTimeout(reset);
|
||||
};
|
||||
}, [timeout, copied]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user