A example login screen for adminlte-2-react with formik and yup https://github.com/sd1337/adminlte-2-react
Require Formik and Yup: https://github.com/jaredpalmer/formik https://github.com/jquense/yup
npm install formik
or
yarn add formik
and
npm install yup
or
yarn add yup
you are stopping the render when you make this early return.
what you wanna do?