Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: Error when setting state with less header options than default #38 #39

Closed
Nathan-Limbik opened this issue May 26, 2022 · 1 comment

Comments

@Nathan-Limbik
Copy link

Hey you forgot to change line 54:
prevState.selectedTab = prevState.headers[1];

Thanks for the fix, I appreciate it!

@sojinantony01
Copy link
Owner

I have updated the code
Thanks reporting it

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

No branches or pull requests

2 participants