on rendering the same code i am getting an error Error: Cannot find module ‘[object Object]’ Require stack: