Routing: Remove unnecessary router import

This commit is contained in:
Svallinn 2021-04-28 13:31:46 +00:00 committed by GitHub
parent 1cdba98741
commit 539500f370
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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) {