]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/utils.ts
feat: Adds Jump to main content functionality
[lemmy-ui.git] / src / shared / utils.ts
index c9d3e9190d9155190f19cacd00be39270fe22d21..4b8dd0ad2e06f170e81592d09abfdf0b4d39fd37 100644 (file)
@@ -330,7 +330,7 @@ export function validURL(str: string) {
   try {
     new URL(str);
     return true;
-  } catch (_) {
+  } catch {
     return false;
   }
 }