Explorar o código

fix: linter error

Sv443 hai 3 semanas
pai
achega
1f07eb254c
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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);
   }
 }