aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2019-01-22 20:26:06 +0300
committerHenry Jameson <me@hjkos.com>2019-01-22 20:27:49 +0300
commit92dedcd53e56562205e704eea2754f159eb9707d (patch)
tree54d8c404a99206de7ae9d0a9b50f5e9a046781d1 /src/components/tab_switcher
parentd405bfe6deb79b4079965c1118a734b96fc20a09 (diff)
linting
Diffstat (limited to 'src/components/tab_switcher')
-rw-r--r--src/components/tab_switcher/tab_switcher.jsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/tab_switcher/tab_switcher.jsx b/src/components/tab_switcher/tab_switcher.jsx
index 2eb30ea6..9038733c 100644
--- a/src/components/tab_switcher/tab_switcher.jsx
+++ b/src/components/tab_switcher/tab_switcher.jsx
@@ -1,6 +1,5 @@
import Vue from 'vue'
-
import './tab_switcher.scss'
export default Vue.component('tab-switcher', {
@@ -37,7 +36,7 @@ export default Vue.component('tab-switcher', {
return (
<div class={ classesWrapper.join(' ')}>
- <button onClick={this.activateTab(index)} class={ classesTab.join(' ') }>{slot.data.attrs.label}</button>
+ <button onClick={this.activateTab(index)} class={ classesTab.join(' ') }>{slot.data.attrs.label}</button>
</div>
)
})
@@ -47,7 +46,7 @@ export default Vue.component('tab-switcher', {
const active = index === this.active
return (
<div class={active ? 'active' : 'hidden'}>
- {slot}
+ {slot}
</div>
)
})