-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingdatacontrolhelp wantedExtra attention is neededExtra attention is neededjavascriptreactbuilt in reactbuilt in reactsanitisation
Description
When the data is sent to api call, i need to make sure that it's returning something, otherwise the app crashes.
I must look at how to sanitize in this instance, using type coercion, ensuring that our returned data isn't null or undefined, and then decide how to respond if it's incorrect.
Feel free to submit a pull request if you know how to deal with this. Otherwise, comment and I'll get back to you asap.
LOCATION:
App.js
FUNCTION:
onIconClick()
DATA:
foodNameInput, displayImage.
asdf
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdatacontrolhelp wantedExtra attention is neededExtra attention is neededjavascriptreactbuilt in reactbuilt in reactsanitisation