From ab5a6e4bf4e7dbedcd391ad321d714dbcb9edd0d Mon Sep 17 00:00:00 2001 From: Jonathan Bout Date: Thu, 25 Apr 2024 22:25:14 +0200 Subject: [PATCH] Remove empty arrow functions that aren't needed --- README.md | 1 - frontend/src/components/Sidebar.vue | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7f27226a..23afecfc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -

diff --git a/frontend/src/components/Sidebar.vue b/frontend/src/components/Sidebar.vue index e293d942..82c5b88d 100644 --- a/frontend/src/components/Sidebar.vue +++ b/frontend/src/components/Sidebar.vue @@ -184,11 +184,11 @@ export default { this.closeHovers(); }, toAccountSettings() { - this.$router.push({ path: "/settings/profile" }, () => {}); + this.$router.push({ path: "/settings/profile" }); this.$store.commit("closeHovers"); }, toSettings() { - this.$router.push({ path: "/settings/global" }, () => {}); + this.$router.push({ path: "/settings/global" }); this.closeHovers(); }, help() {