Why I'm getting this error?

mdsp9070 profile image Matheus de Souza Pessanha ・1 min read

I'm trying to deploy my React application, however I'm get this minified error when I try to access the route:

Component(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.

The development server works like a charm, so I don't know exactly what happened!

My code repo: https://github.com/Mdsp9070/cameraBrowser


markdown guide

Hmm from the looks of the error code, it seems you didn't return anything from the render. Make sure after render() {} you have a return statement containing your HTML? If I am not mistaken.