Uncommenting react code
Rescuing toggle API call with two blinks