diff options
author | 2021-06-23 20:39:18 +0530 | |
---|---|---|
committer | 2021-06-23 17:09:18 +0200 | |
commit | 4d26ffd4805c234e4b0592ae5aa9254e8c3206fd (patch) | |
tree | 6e1e9dd01f53677c40482e45cea3646e952750a9 /src/components/ui/Tabs | |
parent | Added new message when the user doesn't find a service (but that is present i... (diff) | |
download | ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.tar.gz ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.tar.zst ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.zip |
Upgraded eslint and fixed all the reported errors. (#1549)
Diffstat (limited to 'src/components/ui/Tabs')
-rw-r--r-- | src/components/ui/Tabs/Tabs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ui/Tabs/Tabs.js b/src/components/ui/Tabs/Tabs.js index 12f650ffd..196cddc66 100644 --- a/src/components/ui/Tabs/Tabs.js +++ b/src/components/ui/Tabs/Tabs.js | |||
@@ -36,7 +36,7 @@ export default @observer class Tab extends Component { | |||
36 | <div className="content-tabs__tabs"> | 36 | <div className="content-tabs__tabs"> |
37 | {React.Children.map(children, (child, i) => ( | 37 | {React.Children.map(children, (child, i) => ( |
38 | <button | 38 | <button |
39 | key={i} | 39 | key="{i}" |
40 | className={classnames({ | 40 | className={classnames({ |
41 | 'content-tabs__item': true, | 41 | 'content-tabs__item': true, |
42 | 'is-active': this.state.active === i, | 42 | 'is-active': this.state.active === i, |
@@ -51,7 +51,7 @@ export default @observer class Tab extends Component { | |||
51 | <div className="content-tabs__content"> | 51 | <div className="content-tabs__content"> |
52 | {React.Children.map(children, (child, i) => ( | 52 | {React.Children.map(children, (child, i) => ( |
53 | <div | 53 | <div |
54 | key={i} | 54 | key="{i}" |
55 | className={classnames({ | 55 | className={classnames({ |
56 | 'content-tabs__item': true, | 56 | 'content-tabs__item': true, |
57 | 'is-active': this.state.active === i, | 57 | 'is-active': this.state.active === i, |