React help needed

can someone please help me with this annoying error.
see all images attached:






hey @mraees93,

looks like your app component is not returning anything, your formik should be inside a return or change the curly brackets to normal brackets…

const App = () => {

  return (
   <Formik />
  )
}

or

const App = () => (
 <Formik />
)

thanks sooo much its fixed, its always those small errors

1 Like