Skip to content

Commit a19c91b

Browse files
author
jonisaa
committed
Fix bugs with Normal and Tabs
1 parent 354f189 commit a19c91b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/groupComponents/Normal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default class Tabs extends Component {
88
};
99

1010
render() {
11-
let { title } = this.props;
11+
let { title, content } = this.props;
1212

1313
return (
1414
<section>

src/components/groupComponents/Tabs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class Tabs extends Component {
1818
};
1919

2020
render() {
21-
let { layout } = this.props;
21+
let { layout, content } = this.props;
2222
let { position } = this.state;
2323

2424
return (
@@ -36,7 +36,7 @@ export default class Tabs extends Component {
3636
}
3737
</Nav>
3838
<div className="metaform-group-content">
39-
{ content[position] }
39+
{ content }
4040
</div>
4141
</div>
4242
</div>

0 commit comments

Comments
 (0)