Invalid hook call. Hooks can only be called inside of the body of a function component After importing a react component called Formik, I started to get the error above. The error gives me three reasons as to why it may be occuring. You might have mismatching versions of React[…]
