terms and conditions added
This commit is contained in:
@@ -12,11 +12,13 @@ import Offers from './loan_screen/Offers';
|
||||
import LoanPin from './loan_screen/LoanPin';
|
||||
import SelectedOffer from './loan_screen/SelectedOffer';
|
||||
import GetLoan from './loan_screen/GetLoan';
|
||||
import TermsAndConditions from './loan_screen/TermsAndConditions';
|
||||
|
||||
export default function GetLoanScreens() {
|
||||
|
||||
let screens = {
|
||||
products: 'products-screen',
|
||||
terms_conditions: 'terms_conditions',
|
||||
getLoan: 'get-loan',
|
||||
pin: 'pin-screen',
|
||||
offers: 'offers-screen',
|
||||
@@ -120,6 +122,10 @@ export default function GetLoanScreens() {
|
||||
<>
|
||||
<GetLoan step={step} handleStep={handleStep} screens={screens} />
|
||||
</>
|
||||
:step?.screen[step.screen.length -1 ] == screens.terms_conditions ?
|
||||
<>
|
||||
<TermsAndConditions step={step} handleStep={handleStep} screens={screens} />
|
||||
</>
|
||||
:step?.screen[step.screen.length -1 ] == screens.pin ?
|
||||
<>
|
||||
<Pin step={step} handleStep={handleStep} screens={screens} />
|
||||
|
||||
Reference in New Issue
Block a user