I am trying to set
false when power
button is clicked and vice versa.
I have used this
power state in my
On console logging the value of
DrumButtons Components first it sets to
false and then sets to
true. I really cannot understand what is happening .
Please help me