Skip to content

Commit

Permalink
Routing: Remove unnecessary router import
Browse files Browse the repository at this point in the history
  • Loading branch information
Svallinn authored Apr 28, 2021
1 parent 1cdba98 commit 539500f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/renderer/components/side-nav/side-nav.js
Original file line number Diff line number Diff line change
@@ -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',
Expand Down Expand Up @@ -60,7 +59,7 @@ export default Vue.extend({
},
methods: {
navigate: function (route) {
router.push('/' + route)
this.$router.push('/' + route)
},

goToChannel: function (id) {
Expand Down

0 comments on commit 539500f

Please sign in to comment.