diff --git a/app/js/components/Home.js b/app/js/components/Home.js index 74ec651..c96b003 100644 --- a/app/js/components/Home.js +++ b/app/js/components/Home.js @@ -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'))}); });