`setTimeout` behaves inconsistently across devices in React application/ Issue with the state
I’m encountering a peculiar issue with the setTimeout function in my React application that seems to vary in behavior across different devices. On my local machine, everything works as expected, but when testing on other devices (such as mobile phones or tablets) using the network url or even on the vercel domain the setTimeout function behaves inconsistently.