mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 06:01:17 -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