Skip to content

Conversation

@rashmi73
Copy link
Contributor

No description provided.

Copy link
Collaborator

@maxceem maxceem left a comment

Choose a reason for hiding this comment

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

@rashmi73 the reason for the issue which you found looks right. But I think the fix would not always work.

There are several places where we override the whole project object, so we can again have a situation when invites is not defined:

As there are so many places, it feels that the more safe and easier approach would be to check if we have invites array inside these reducers before we try to push:

And if invites is not defined, then create an empty array first, before push to it.

What do you think?

@rashmi73
Copy link
Contributor Author

@maxceem yes you are correct and implemented same. kindly check

Copy link
Collaborator

@maxceem maxceem left a comment

Choose a reason for hiding this comment

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

Looks good @rashmi73

Thank you.

@maxceem maxceem merged commit 9667e92 into topcoder-archive:cf16 Apr 16, 2019
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