From cd8cc52f18f2c1262b73d5da73a2fcdbdb339fd0 Mon Sep 17 00:00:00 2001 From: Marselino Widis Date: Wed, 18 Jan 2023 16:18:41 +0700 Subject: [PATCH] feat: Adjust route from register to dashboard --- src/common/pages/Register/index.js | 2 +- src/common/pages/RegisterNew/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/pages/Register/index.js b/src/common/pages/Register/index.js index edced6a..bec1efc 100644 --- a/src/common/pages/Register/index.js +++ b/src/common/pages/Register/index.js @@ -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 diff --git a/src/common/pages/RegisterNew/index.js b/src/common/pages/RegisterNew/index.js index e37c355..d162a63 100644 --- a/src/common/pages/RegisterNew/index.js +++ b/src/common/pages/RegisterNew/index.js @@ -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(() => {