lengthen cache-control headers

This commit is contained in:
jake committed 2022-05-02 10:29:01 -04:00
1 parent d8d7d7d775
commit 64303400a4
10 files changed
+36 -27

No files matched your search

+3 -1
View File
@@ -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 (