improved archive logic

This commit is contained in:
daniel31x13
2023-12-11 03:05:47 -05:00
parent 375a55dd37
commit 6ba2aab0ba
4 changed files with 115 additions and 65 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ export default function PreservedFormats() {
}, [links]);
useEffect(() => {
let interval: NodeJS.Timer | undefined;
let interval: any;
if (link?.screenshotPath === "pending" || link?.pdfPath === "pending") {
let isPublicRoute = router.pathname.startsWith("/public")
? true