Skip to content

HW4#42

Open
maxim-buglov wants to merge 1 commit intoromabelka:masterfrom
maxim-buglov:HW4
Open

HW4#42
maxim-buglov wants to merge 1 commit intoromabelka:masterfrom
maxim-buglov:HW4

Conversation

@maxim-buglov
Copy link
Copy Markdown

HW4.1
HW4.2
HW4.3

HW4.2
HW4.3
}

export default connect((state, props) => ({
event: eventListSelector(state, props).find((e) => e.id === props.id)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Заведи для этого отдельный селектор

Comment thread src/ducks/events.js

export const deleteEventSaga = function*(action) {
const { payload } = action
const ref = firebase.database().ref(`events/${payload.id}`)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Мы это выносим в ApiService

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants