feat: Adjust route from register to dashboard
This commit is contained in:
parent
4a5e15c55c
commit
cd8cc52f18
|
@ -73,7 +73,7 @@ export default class ComponentName extends React.Component {
|
||||||
// description: 'Please check your email to continue'
|
// description: 'Please check your email to continue'
|
||||||
// });
|
// });
|
||||||
this.props.history.push({
|
this.props.history.push({
|
||||||
pathname:LINKS.VOUCHERS
|
pathname:LINKS.DASHBOARD
|
||||||
});
|
});
|
||||||
this.setState({isLoading: false, isSuccess: true})
|
this.setState({isLoading: false, isSuccess: true})
|
||||||
// this
|
// this
|
||||||
|
|
|
@ -209,7 +209,7 @@ class RegisterPage extends React.Component {
|
||||||
no_rekening : this.state.no_rekening
|
no_rekening : this.state.no_rekening
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.props.history.push(LINKS.VOUCHERS);
|
this.props.history.push(LINKS.DASHBOARD);
|
||||||
// this.authStore.register(data).then(res => {
|
// this.authStore.register(data).then(res => {
|
||||||
// //message.success("Please check your email to confirm your account");this.props.history.push(LINKS.LOGIN);
|
// //message.success("Please check your email to confirm your account");this.props.history.push(LINKS.LOGIN);
|
||||||
// setTimeout(() => {
|
// setTimeout(() => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user