Quellcode durchsuchen

Enable redirection on login click

create-reusable-mui-modal
mladen.dubovac vor 4 Jahren
Ursprung
Commit
c046b2a62a
1 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  1. 6
    6
      src/pages/LoginPage/LoginPageMUI.js

+ 6
- 6
src/pages/LoginPage/LoginPageMUI.js Datei anzeigen

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

Laden…
Abbrechen
Speichern