[javascript] Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null

the problem is in the return, try this:

return(
);

this solved my problem