mirror of
https://github.com/status-im/meritocracy.git
synced 2025-02-18 00:26:27 +00:00
feat: added kudos wall
This commit is contained in:
parent
7233fb934b
commit
b86da87143
@ -11,6 +11,7 @@ import Complete from './Complete';
|
||||
import Error from './Error';
|
||||
import Withdrawal from './Withdrawal';
|
||||
import {sortByAlpha, sortByAttribute} from '../utils';
|
||||
import Praise from './Praise';
|
||||
/*
|
||||
TODO:
|
||||
- list praise for contributor
|
||||
@ -54,7 +55,6 @@ class Home extends React.Component {
|
||||
const currentContributor = await getCurrentContributorData();
|
||||
|
||||
this.setState({ busy: false, currentContributor, contributorList: contributorList.sort(sortByAlpha('label'))});
|
||||
|
||||
getAllPraises().then(praises => {
|
||||
this.setState({praises: praises.sort(sortByAttribute('time'))});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user