Quellcode durchsuchen

fix: linter error

Sv443 vor 3 Wochen
Ursprung
Commit
1f07eb254c
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  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);
   }
 }