We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e41f06 commit 616068eCopy full SHA for 616068e
src/pages/SessionDetail.tsx
@@ -123,9 +123,9 @@ const SessionDetail: React.FC<SessionDetailProps> = ({
123
};
124
125
export default connect<OwnProps, StateProps, DispatchProps>({
126
- mapStateToProps: (state, OwnProps) => ({
127
- session: selectors.getSession(state, OwnProps),
128
- favoriteSessions: state.data.favorites,
+ mapStateToProps: (state, ownProps) => ({
+ session: selectors.getSession(state, ownProps),
+ favoriteSessions: state.data.favorites
129
}),
130
mapDispatchToProps: {
131
addFavorite,
0 commit comments