Skip to content

Commit 735aadc

Browse files
committed
fix conflicts
2 parents 9ec9df8 + f7ce27d commit 735aadc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/components/portfolioPage/Corpora.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ class Corpora extends Component {
1414
};
1515

1616
sort = memoize((items, criteria) => items.sort(by(`${criteria}.0`)));
17-
17+
18+
componentWillReceiveProps(props) {
19+
this.setState({
20+
listCorpus: props.ids
21+
})
22+
}
1823
render() {
1924
let itemsData = this.sort(this.props.items, this.state.criteria);
2025
let items = itemsData.map(x =>

0 commit comments

Comments
 (0)