From 539500f370ea70dea68ea9c088806ddc2d14fc3a Mon Sep 17 00:00:00 2001 From: Svallinn <41585298+Svallinn@users.noreply.github.com> Date: Wed, 28 Apr 2021 13:31:46 +0000 Subject: [PATCH] Routing: Remove unnecessary router import --- src/renderer/components/side-nav/side-nav.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer/components/side-nav/side-nav.js b/src/renderer/components/side-nav/side-nav.js index 762df604..9d74e467 100644 --- a/src/renderer/components/side-nav/side-nav.js +++ b/src/renderer/components/side-nav/side-nav.js @@ -1,7 +1,6 @@ import Vue from 'vue' import FtFlexBox from '../ft-flex-box/ft-flex-box.vue' import SideNavMoreOptions from '../side-nav-more-options/side-nav-more-options.vue' -import router from '../../router/index.js' export default Vue.extend({ name: 'SideNav', @@ -60,7 +59,7 @@ export default Vue.extend({ }, methods: { navigate: function (route) { - router.push('/' + route) + this.$router.push('/' + route) }, goToChannel: function (id) {