feat: Adjust route from register to dashboard

This commit is contained in:
Marselino Widis 2023-01-18 16:18:41 +07:00
parent 4a5e15c55c
commit cd8cc52f18
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ export default class ComponentName extends React.Component {
// description: 'Please check your email to continue'
// });
this.props.history.push({
pathname:LINKS.VOUCHERS
pathname:LINKS.DASHBOARD
});
this.setState({isLoading: false, isSuccess: true})
// this

View File

@ -209,7 +209,7 @@ class RegisterPage extends React.Component {
no_rekening : this.state.no_rekening
}
};
this.props.history.push(LINKS.VOUCHERS);
this.props.history.push(LINKS.DASHBOARD);
// this.authStore.register(data).then(res => {
// //message.success("Please check your email to confirm your account");this.props.history.push(LINKS.LOGIN);
// setTimeout(() => {