changed get loan to pay loan
This commit is contained in:
@@ -81,7 +81,7 @@ export default function LoginCom() {
|
||||
<button
|
||||
key={product?.cid}
|
||||
disabled={isDisabled}
|
||||
onClick={()=>console.log('working')}
|
||||
onClick={()=>handleStep(product, 2)}
|
||||
className={`w-full flex gap-2 justify-between items-center p-2 bg-purple-800 text-base sm:text-xl text-white font-bold rounded ${isDisabled && 'opacity-50'}`}
|
||||
>
|
||||
<span>{product?.description}</span>
|
||||
@@ -95,7 +95,7 @@ export default function LoginCom() {
|
||||
</div>
|
||||
{products &&
|
||||
<div className='mt-3 w-full h-full flex flex-col justify-end'>
|
||||
<button onClick={()=>handleStep({}, 2)} className='w-full p-3 bg-orange-500 text-lg sm:text-2xl text-white font-bold rounded'>Get Loan</button>
|
||||
<button onClick={()=>console.log('working')} className='w-full p-3 bg-orange-500 text-lg sm:text-2xl text-white font-bold rounded'>Pay Loan</button>
|
||||
</div>
|
||||
}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user