feat: added kudos wall

This commit is contained in:
Richard Ramos 2019-05-03 18:07:45 -04:00
parent 7233fb934b
commit b86da87143
1 changed files with 1 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import Complete from './Complete';
import Error from './Error'; import Error from './Error';
import Withdrawal from './Withdrawal'; import Withdrawal from './Withdrawal';
import {sortByAlpha, sortByAttribute} from '../utils'; import {sortByAlpha, sortByAttribute} from '../utils';
import Praise from './Praise';
/* /*
TODO: TODO:
- list praise for contributor - list praise for contributor
@ -54,7 +55,6 @@ class Home extends React.Component {
const currentContributor = await getCurrentContributorData(); const currentContributor = await getCurrentContributorData();
this.setState({ busy: false, currentContributor, contributorList: contributorList.sort(sortByAlpha('label'))}); this.setState({ busy: false, currentContributor, contributorList: contributorList.sort(sortByAlpha('label'))});
getAllPraises().then(praises => { getAllPraises().then(praises => {
this.setState({praises: praises.sort(sortByAttribute('time'))}); this.setState({praises: praises.sort(sortByAttribute('time'))});
}); });