remove unused param

This commit is contained in:
taehoon 2019-08-09 23:48:33 -04:00
parent df3e80b7c3
commit 9dd9ba0205

View File

@ -17,7 +17,7 @@ export default Vue.component('tab-switcher', {
}
},
methods: {
activateTab (index, dataset) {
activateTab (index) {
return () => {
if (typeof this.onSwitch === 'function') {
this.onSwitch.call(null, this.$slots.default[index].key)