push pull shower diverter valve

getderivedstatefromprops setstate not working