Added proper loading status handling to short URLs list

This commit is contained in:
Alejandro Celaya
2018-07-15 10:39:05 +02:00
parent a4f9a2b8b3
commit 010e3ce0f3
3 changed files with 25 additions and 8 deletions

View File

@@ -16,5 +16,6 @@ export function ShortUrls(props) {
}
export default connect(state => ({
shortUrlsList: state.shortUrlsList
shortUrlsList: state.shortUrlsList.shortUrls,
loading: state.shortUrlsList.loading,
}))(ShortUrls);