Disallow removing used subjects

Pass timetable as prop in containers.
This commit is contained in:
2020-03-31 14:37:13 +05:30
parent f9f4f40822
commit b89b67bf68
2 changed files with 25 additions and 2 deletions
+1
View File
@@ -5,6 +5,7 @@ import { addSubject, removeSubject } from "../actions";
const mapStateToProps = state => {
return {
subjects: state.subjects,
timetable: state.timetable,
};
};