|
|
@ -71,7 +71,7 @@ const DesktopHome = ({ grades, books }) => { |
|
|
|
|
|
|
|
|
|
|
|
const mapStateToProps = (state) => ({ |
|
|
|
const mapStateToProps = (state) => ({ |
|
|
|
isDark: state.publicApi.isDark, |
|
|
|
isDark: state.publicApi.isDark, |
|
|
|
isMobile: state.config.device === 'mobile', |
|
|
|
isMobile: state.config.device === "mobile", |
|
|
|
books: state.book.list, |
|
|
|
books: state.book.list, |
|
|
|
gradeFilterBooks: state.book.gradeFilterBooks, |
|
|
|
gradeFilterBooks: state.book.gradeFilterBooks, |
|
|
|
selectedGrade: state.book.selectedGrade, |
|
|
|
selectedGrade: state.book.selectedGrade, |
|
|
|