Skip to content

Conversation

@maherzaidoune
Copy link
Contributor

use this.props.selectedTab instead of state.selected and remove unnecessary logic inside componentWillReceiveProps

@yeswanth
Copy link
Owner

yeswanth commented Jun 5, 2020

Hi @maherzaidoune Do you want to write testcases for this?

@maherzaidoune
Copy link
Contributor Author

Hi @maherzaidoune Do you want to write testcases for this?

I don't see the need for writing test for just that commit while the whole project has no tests, anyway I'm using that in production with no problems, I'll write tests in weekend If I had time

@yeswanth
Copy link
Owner

@maherzaidoune Let me know if this is still valid. I will go ahead and merge it.

@maherzaidoune
Copy link
Contributor Author

@maherzaidoune Let me know if this is still valid. I will go ahead and merge it.

I'm using that from my fork till now

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