fix: fixe portfolio and intro wording
This commit is contained in:
parent
1c3e4de4dd
commit
2c7c0e99e0
@ -31,7 +31,8 @@ export default function PortfolioSummary() {
|
|||||||
const { data: v1Account } = useAccount(urlAddress)
|
const { data: v1Account } = useAccount(urlAddress)
|
||||||
const stats = useMemo(() => {
|
const stats = useMemo(() => {
|
||||||
if (!accounts?.length) return
|
if (!accounts?.length) return
|
||||||
if (v1Account) accounts.push(v1Account)
|
if (v1Account && !accounts.find((account) => account.id === urlAddress))
|
||||||
|
accounts.push(v1Account)
|
||||||
const combinedAccount = accounts.reduce(
|
const combinedAccount = accounts.reduce(
|
||||||
(combinedAccount, account) => {
|
(combinedAccount, account) => {
|
||||||
combinedAccount.debts = combinedAccount.debts.concat(account.debts)
|
combinedAccount.debts = combinedAccount.debts.concat(account.debts)
|
||||||
|
@ -9,9 +9,8 @@ export default function V1Intro() {
|
|||||||
text={
|
text={
|
||||||
<>
|
<>
|
||||||
The <span className='text-white'>Wallet Mode</span> provides simple lending and borrowing
|
The <span className='text-white'>Wallet Mode</span> provides simple lending and borrowing
|
||||||
without the use of Credit Accounts. Funds are{' '}
|
without the use of Credit Accounts. Deposits{' '}
|
||||||
<span className='text-white'>not cross-collateralized</span> and can‘t be used in
|
<span className='text-white'>can‘t be used</span> in the Trade or Farm interface.
|
||||||
the Trade or Farm interface.
|
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
bg='v1'
|
bg='v1'
|
||||||
|
Loading…
Reference in New Issue
Block a user