ソースを参照

Enable redirection on login click

create-reusable-mui-modal
mladen.dubovac 4年前
コミット
c046b2a62a
1個のファイルの変更6行の追加6行の削除
  1. 6
    6
      src/pages/LoginPage/LoginPageMUI.js

+ 6
- 6
src/pages/LoginPage/LoginPageMUI.js ファイルの表示

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

読み込み中…
キャンセル
保存