Closed OperationXen closed 5 years ago
Arrow functions here allow for tidier code, and no overhead of binding this back into member function. Just its not working.
This was the issue, name was refering to a non-existing member of state. Identified when updated to pull value from state.
Suspect some kind of syntax error regarding returns?
https://github.com/OperationXen/cyberpunkCTF/blob/da2dfaf2faedb3745cca2a58b7c843e5f4d1ab9c/react_app/src/components/Game/FlagWidget.js#L63