added auto-archive script + minor improvements

This commit is contained in:
daniel31x13
2023-12-10 15:26:44 -05:00
parent 8e49ccf723
commit 375a55dd37
11 changed files with 373 additions and 29 deletions
+4 -2
View File
@@ -85,7 +85,7 @@ export default function Index() {
}, [link]);
useEffect(() => {
let interval: NodeJS.Timer | undefined;
let interval: any;
if (
link?.screenshotPath === "pending" ||
link?.pdfPath === "pending" ||
@@ -186,7 +186,9 @@ export default function Index() {
)}
<div className="flex flex-col">
<p className="text-xl">
{unescapeString(link?.name || link?.description || "")}
{unescapeString(
link?.name || link?.description || link?.url || ""
)}
</p>
{link?.url ? (
<Link