@@ -1872,8 +1875,8 @@ const action = rtype === 'openDeposit' ? 'Deposit' : 'Loan' getRef(`${type}_button`).classList.add('hide-completely') getRef(`${type}_button`).after(createElement('strong', { + className: 'warning', textContent: `${action} in process. You can't ${type === 'deposit' ? 'deposit' : 'request loan'} until that's completed.`, - attributes: { 'style': 'background-color: khaki; color: rgba(0,0,0,0.7); padding: 1rem; border-radius: 0.5rem' } })) } } else {