We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ec9df8 + f7ce27d commit 735aadcCopy full SHA for 735aadc
1 file changed
src/components/portfolioPage/Corpora.jsx
@@ -14,7 +14,12 @@ class Corpora extends Component {
14
};
15
16
sort = memoize((items, criteria) => items.sort(by(`${criteria}.0`)));
17
-
+
18
+ componentWillReceiveProps(props) {
19
+ this.setState({
20
+ listCorpus: props.ids
21
+ })
22
+}
23
render() {
24
let itemsData = this.sort(this.props.items, this.state.criteria);
25
let items = itemsData.map(x =>
0 commit comments