Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Clementlgz committed May 19, 2022
2 parents 9ec9df8 + f7ce27d commit 735aadc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/portfolioPage/Corpora.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ class Corpora extends Component {
};

sort = memoize((items, criteria) => items.sort(by(`${criteria}.0`)));


componentWillReceiveProps(props) {
this.setState({
listCorpus: props.ids
})
}
render() {
let itemsData = this.sort(this.props.items, this.state.criteria);
let items = itemsData.map(x =>
Expand Down

0 comments on commit 735aadc

Please sign in to comment.