diff options
author | 2021-09-13 14:45:46 +0200 | |
---|---|---|
committer | 2021-09-13 14:45:46 +0200 | |
commit | 537697a6e9757f118d09d9e76362ba1ff617e2c6 (patch) | |
tree | bc55447115e385137684e84697a8c15d2199b8d5 /src/components/ui/Tabs | |
parent | Bumped up version to: 5.6.3-nightly.0 [skip ci] (diff) | |
download | ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.gz ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.zst ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.zip |
chore: upgrade intl dependencies (#1920)
Diffstat (limited to 'src/components/ui/Tabs')
-rw-r--r-- | src/components/ui/Tabs/Tabs.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/ui/Tabs/Tabs.js b/src/components/ui/Tabs/Tabs.js index 56c76f215..195398708 100644 --- a/src/components/ui/Tabs/Tabs.js +++ b/src/components/ui/Tabs/Tabs.js | |||
@@ -5,7 +5,6 @@ import classnames from 'classnames'; | |||
5 | 5 | ||
6 | import { oneOrManyChildElements } from '../../../prop-types'; | 6 | import { oneOrManyChildElements } from '../../../prop-types'; |
7 | 7 | ||
8 | export default | ||
9 | @observer | 8 | @observer |
10 | class Tab extends Component { | 9 | class Tab extends Component { |
11 | constructor(props) { | 10 | constructor(props) { |
@@ -28,7 +27,7 @@ class Tab extends Component { | |||
28 | 27 | ||
29 | render() { | 28 | render() { |
30 | const { children: childElements } = this.props; | 29 | const { children: childElements } = this.props; |
31 | const children = childElements.filter((c) => !!c); | 30 | const children = childElements.filter(c => !!c); |
32 | 31 | ||
33 | if (children.length === 1) { | 32 | if (children.length === 1) { |
34 | return <div>{children}</div>; | 33 | return <div>{children}</div>; |
@@ -69,3 +68,5 @@ class Tab extends Component { | |||
69 | ); | 68 | ); |
70 | } | 69 | } |
71 | } | 70 | } |
71 | |||
72 | export default Tab; | ||