i was making react javascript calculator but i encountered a problem which i do not understand i tried a lot of things but nothing worked
the above link contains code and debug logs
the project to this point work great when manually testing but when i use fcc bundle it misbehave and revert the state to previous state even though the updated state is clearly being printed and is showing that is changed