Parcourir la source

fix: linter error

Sv443 il y a 3 semaines
Parent
commit
1f07eb254c
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      lib/dom.ts

+ 4 - 1
lib/dom.ts

@@ -102,7 +102,10 @@ export function openInNewTab(href: string, background?: boolean, additionalProps
     setTimeout(() => {
       try {
         openElem.remove();
-      } catch {}
+      }
+      catch {
+        void 0;
+      }
     }, 0);
   }
 }