Ver código fonte

Enable redirection on login click

create-reusable-mui-modal
mladen.dubovac 4 anos atrás
pai
commit
c046b2a62a
1 arquivos alterados com 6 adições e 6 exclusões
  1. 6
    6
      src/pages/LoginPage/LoginPageMUI.js

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

@@ -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) => {

Carregando…
Cancelar
Salvar