Explorar el Código

Enable redirection on login click

create-reusable-mui-modal
mladen.dubovac hace 4 años
padre
commit
c046b2a62a
Se han modificado 1 ficheros con 6 adiciones y 6 borrados
  1. 6
    6
      src/pages/LoginPage/LoginPageMUI.js

+ 6
- 6
src/pages/LoginPage/LoginPageMUI.js Ver fichero

@@ -60,12 +60,12 @@ const LoginPage = ({ history }) => {
);

const handleApiResponseSuccess = () => {
// history.push({
// pathname: HOME_PAGE,
// state: {
// from: history.location.pathname,
// },
// });
history.push({
pathname: HOME_PAGE,
state: {
from: history.location.pathname,
},
});
};

const handleSubmit = (values) => {

Cargando…
Cancelar
Guardar