Fix the map function inside the render. It is not properly return the object after running hyperscript.