From de4b7e6124254a192c897bdf0070b078a64ee563 Mon Sep 17 00:00:00 2001
From: Bastien Wirtz <bastien.wirtz@gmail.com>
Date: Sat, 21 Oct 2023 14:24:05 +0200
Subject: Linting update

---
 src/components/DarkMode.vue | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

(limited to 'src/components/DarkMode.vue')

diff --git a/src/components/DarkMode.vue b/src/components/DarkMode.vue
index f0f823d..f1ed139 100644
--- a/src/components/DarkMode.vue
+++ b/src/components/DarkMode.vue
@@ -84,10 +84,13 @@ export default {
     },
 
     watchIsDark: function () {
-      matchMedia("(prefers-color-scheme: dark)").addEventListener("change", () => {
-        this.isDark = this.getIsDark();
-        this.$emit("updated", this.isDark);
-      });
+      matchMedia("(prefers-color-scheme: dark)").addEventListener(
+        "change",
+        () => {
+          this.isDark = this.getIsDark();
+          this.$emit("updated", this.isDark);
+        },
+      );
     },
   },
 };
-- 
cgit v1.2.3

