sojinantony01 / react-cron-generator

Simple react component to generate cron expressions
MIT License
78 stars 62 forks source link

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

Closed Nathan-Limbik closed 2 years ago

Nathan-Limbik commented 2 years ago

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

Thanks for the fix, I appreciate it!

sojinantony01 commented 2 years ago

I have updated the code Thanks reporting it