Skip to content
Snippets Groups Projects
Commit b41512d7 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Fix state path from redux update

parent 9b6cd4fc
No related branches found
No related tags found
No related merge requests found
......@@ -183,6 +183,6 @@ ListMonitor.propTypes = {
y: PropTypes.number
};
const mapStateToProps = state => ({vm: state.vm});
const mapStateToProps = state => ({vm: state.scratchGui.vm});
export default connect(mapStateToProps)(ListMonitor);
......@@ -54,6 +54,6 @@ SliderMonitor.propTypes = {
vm: PropTypes.instanceOf(VM)
};
const mapStateToProps = state => ({vm: state.vm});
const mapStateToProps = state => ({vm: state.scratchGui.vm});
export default connect(mapStateToProps)(SliderMonitor);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment