describe contents of source in overlay

This commit is contained in:
Lachlan Kermode
2019-01-03 12:30:20 +00:00
parent c98d4cc73d
commit 43a861ca6f
4 changed files with 71 additions and 15 deletions

View File

@@ -154,7 +154,18 @@ function mapDispatchToProps(dispatch) {
};
}
function injectSource(id) {
return state => ({
...state,
app: {
...state.app,
source: state.domain.sources[id]
}
})
}
export default connect(
state => state,
// injectSource('src7'),
mapDispatchToProps,
)(Dashboard);