2017-04-23 18:10:45 +02:00
|
|
|
import React from 'react'
|
|
|
|
import {
|
|
|
|
connect
|
|
|
|
} from 'react-redux'
|
|
|
|
import {
|
2017-04-25 07:47:21 +02:00
|
|
|
selectDownloadedContentFileInfos,
|
|
|
|
selectFetchingDownloadedContent,
|
2017-04-23 18:10:45 +02:00
|
|
|
} from 'selectors/content'
|
|
|
|
import FileListDownloaded from './view'
|
|
|
|
|
|
|
|
const select = (state) => ({
|
2017-04-25 07:47:21 +02:00
|
|
|
downloadedContent: selectDownloadedContentFileInfos(state),
|
|
|
|
fetching: selectFetchingDownloadedContent(state),
|
2017-04-23 18:10:45 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
const perform = (dispatch) => ({
|
|
|
|
})
|
|
|
|
|
|
|
|
export default connect(select, perform)(FileListDownloaded)
|