Compare commits

...

2 Commits

Author SHA1 Message Date
d1ab78d35a change start dockerfile 2023-01-18 17:30:33 +07:00
cd8cc52f18 feat: Adjust route from register to dashboard 2023-01-18 16:18:41 +07:00
3 changed files with 3 additions and 3 deletions

View File

@@ -5,5 +5,5 @@ WORKDIR /app
COPY package.json package-lock.json /app/
RUN npm install
COPY . /app
CMD npm run watch
CMD npm run start
EXPOSE 7700

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(() => {