diff --git a/src/common/pages/Register/index.js b/src/common/pages/Register/index.js
index e7af026..0fb95aa 100644
--- a/src/common/pages/Register/index.js
+++ b/src/common/pages/Register/index.js
@@ -68,12 +68,12 @@ export default class ComponentName extends React.Component {
.authStore
.register(value)
.then(res => {
- notification.open({
- message: 'Register Success',
- description: 'Please check your email to continue'
- });
+ // notification.open({
+ // message: 'Register Success',
+ // description: 'Please check your email to continue'
+ // });
this.props.history.push({
- pathname:LINKS.LOGIN
+ pathname:LINKS.REGISTER_COMPLETED
});
this.setState({isLoading: false, isSuccess: true})
// this
diff --git a/src/common/pages/RegisterCompleted/index.js b/src/common/pages/RegisterCompleted/index.js
new file mode 100644
index 0000000..fc778ba
--- /dev/null
+++ b/src/common/pages/RegisterCompleted/index.js
@@ -0,0 +1,112 @@
+import React from 'react';
+import withStyles from "@material-ui/core/styles/withStyles";
+import {styles} from '../Register/registerStyle';
+import {notification} from 'antd';
+
+import Grid from '@material-ui/core/Grid';
+import Paper from '@material-ui/core/Paper';
+import Typography from '@material-ui/core/Typography';
+import TextField from '@material-ui/core/TextField';
+import Visibility from '@material-ui/icons/Visibility';
+import VisibilityOff from '@material-ui/icons/VisibilityOff';
+import Button from '@material-ui/core/Button';
+import Hidden from '@material-ui/core/Hidden';
+import Dialog from '@material-ui/core/Dialog';
+import DialogActions from '@material-ui/core/DialogActions';
+import DialogContent from '@material-ui/core/DialogContent';
+import DialogContentText from '@material-ui/core/DialogContentText';
+import DialogTitle from '@material-ui/core/DialogTitle';
+import InputAdornment from '@material-ui/core/InputAdornment';
+import IconButton from '@material-ui/core/IconButton';
+import CircularProgress from '@material-ui/core/CircularProgress';
+import Snackbar from '@material-ui/core/Snackbar';
+
+import { Link } from 'react-router-dom';
+import {inject, observer} from 'mobx-react';
+import {LINKS} from "../../routes";
+
+@withStyles(styles)
+@inject('appstate')
+@observer
+export default class RegisterCompletedComponent extends React.Component{
+
+ constructor(props) {
+ super(props);
+ this.props = props;
+ this.state = {
+ email: "",
+ password: "",
+ showPassword : false,
+ isLoading: false,
+ loginFailed: false,
+ isNeedEmailVerification: false,
+ };
+ this.defaultState = Object.assign({}, this.state);
+ this.authStore = props.appstate.auth;
+ }
+
+ componentDidMount() {
+
+ }
+
+ handleChange = name => event => {
+ this.setState({
+ [name]: event.target.value,
+ });
+ };
+
+ viewPassword = ()=>{
+ this.setState({
+ showPassword : !this.state.showPassword
+ })
+ };
+
+ render(){
+ const { classes } = this.props;
+ return (
+
+
+
+
+
+
+
+
+
+
+
+ Welcome to BTN Points
+
+
+ Sign in to get various voucher and items
+
+
+
+
+
+
+ Registration Completed
+
+
+ We have sent an email with a confirmation link to your email address. Please allow 5-10 minutes for this message to arrive.
+
+
+