From 687e3822453bb205cf5e047a15c1e6ba612a9dc4 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 5 Aug 2024 15:13:04 +0200 Subject: [PATCH] renamed `e` to `_e` to not trigger the unused variable check --- webclient/app/composables/webglSupport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/app/composables/webglSupport.ts b/webclient/app/composables/webglSupport.ts index b12d93662..82db758d4 100644 --- a/webclient/app/composables/webglSupport.ts +++ b/webclient/app/composables/webglSupport.ts @@ -2,7 +2,7 @@ function supportsWebgl(): boolean { try { const canvas = document.createElement("canvas"); return !!window.WebGLRenderingContext && !!(canvas.getContext("webgl") || canvas.getContext("experimental-webgl")); - } catch (e) { + } catch (_e) { return false; } }