update : routes for otp page
This commit is contained in:
parent
d0d20f0d2a
commit
62696a3a80
|
@ -10,6 +10,7 @@ import AppContainer from "./pages/App";
|
||||||
import InviteConfirmationComponent from './pages/InviteConfirmation';
|
import InviteConfirmationComponent from './pages/InviteConfirmation';
|
||||||
import InviteConfirmationLoginComponent from './pages/InviteConfirmationLogin/index';
|
import InviteConfirmationLoginComponent from './pages/InviteConfirmationLogin/index';
|
||||||
import AcceptInvite from "./pages/AcceptInvite/index";
|
import AcceptInvite from "./pages/AcceptInvite/index";
|
||||||
|
import OtpPage from "./pages/Otp";
|
||||||
|
|
||||||
export const LINKS = {
|
export const LINKS = {
|
||||||
ROOT: '/',
|
ROOT: '/',
|
||||||
|
@ -117,6 +118,7 @@ export const LINKS = {
|
||||||
PAYMENT_VOUCHERS: '/app/vouchers/payment',
|
PAYMENT_VOUCHERS: '/app/vouchers/payment',
|
||||||
CART_DETAIL: '/app/cart',
|
CART_DETAIL: '/app/cart',
|
||||||
TRANSACTION: '/app/transaction',
|
TRANSACTION: '/app/transaction',
|
||||||
|
OTP : '/login/otp'
|
||||||
};
|
};
|
||||||
|
|
||||||
@inject('appstate')
|
@inject('appstate')
|
||||||
|
@ -157,6 +159,7 @@ export default class Routes extends React.Component {
|
||||||
}}/>)}/>
|
}}/>)}/>
|
||||||
<Route exact path={LINKS.REGISTER} component={RegisterComponent}/>
|
<Route exact path={LINKS.REGISTER} component={RegisterComponent}/>
|
||||||
<Route exact path={LINKS.LOGIN} component={LoginBTNComponent}/>
|
<Route exact path={LINKS.LOGIN} component={LoginBTNComponent}/>
|
||||||
|
<Route exact path={LINKS.OTP} component={OtpPage}/>
|
||||||
<Route exact path={LINKS.FORGOT_PASSWORD} component={ForgotPasswordComponent}/>
|
<Route exact path={LINKS.FORGOT_PASSWORD} component={ForgotPasswordComponent}/>
|
||||||
<Route exact path={LINKS.INVITE_CONFIRMATION} component={InviteConfirmationComponent}/>
|
<Route exact path={LINKS.INVITE_CONFIRMATION} component={InviteConfirmationComponent}/>
|
||||||
<Route exact path={LINKS.INVITE_CONFIRMATION_LOGIN} component={InviteConfirmationLoginComponent}/>
|
<Route exact path={LINKS.INVITE_CONFIRMATION_LOGIN} component={InviteConfirmationLoginComponent}/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user