Open morkeltry opened 6 years ago
Route to one of the 3 possible loans pages: repayments, eligibility and apply. Note this is a change from yesterday's flow diagram.
Create dummy functions hasActiveLoan() and hasLoanOffer() and mock these functions so that they return (for testing purposes)
hasActiveLoan()
hasLoanOffer()
Make 2 async calls to the functions and await results.
if `hasActiveLoan (ethAddr) \\ route to repayments else if hasLoanOffer (ethAddr) \\ route to apply else \\ route to eligibility
Show attractive loading screen while waiting for results (eg GAP graphic from upwork)
Done
Route to one of the 3 possible loans pages: repayments, eligibility and apply. Note this is a change from yesterday's flow diagram.
Create dummy functions
hasActiveLoan()
andhasLoanOffer()
and mock these functions so that they return (for testing purposes)Make 2 async calls to the functions and await results.
Show attractive loading screen while waiting for results (eg GAP graphic from upwork)