diff --git a/README.md b/README.md index 7fae147..71a2dc7 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ - Step 0: run `npm install -g npm@latest` - Step 1: run `npm install` -- Step 2: create config.js file `cp src/_constants/configs.example.js src/_constants/configs.js` +- Step 2: create config.js file `cp src/_constants/configs.js` - Step 3: run `npm run build` to build code - Step 4: copy `build` directory to server diff --git a/src/_containers/RegisterPage/components/AccountAuthentication/AccountAuthentication.jsx b/src/_containers/RegisterPage/components/AccountAuthentication/AccountAuthentication.jsx index b5ffb24..440a5fc 100644 --- a/src/_containers/RegisterPage/components/AccountAuthentication/AccountAuthentication.jsx +++ b/src/_containers/RegisterPage/components/AccountAuthentication/AccountAuthentication.jsx @@ -74,7 +74,15 @@ const AccountAuthentication = () => { color={registerInfo?.color} /> )} - {popupRegisterSuccess && setPopupRegisterSuccess(false)} labelYes={"Đồng ý"}/>} + {popupRegisterSuccess && + history.goBack()} + labelNo='Quay lại' + labelYes={"Đăng nhập"} + onClickYes={() => window.location.replace('https://sundayenglish.com/login')} + /> + }