onPress not working properly
Closed this issue · 0 comments
khanna98 commented
- Any function that is hooked with the onPress property gets triggered as soon as the app launches
- It calls the function hooked infinitely and thus throws an error
- Does not wait for the chip to be pressed, and automatically keeps calling the function