fix: fixe portfolio and intro wording

This commit is contained in:
Linkie Link 2024-02-21 08:08:40 +01:00
parent 1c3e4de4dd
commit 2c7c0e99e0
No known key found for this signature in database
GPG Key ID: 5318B0F2564D38EA
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,8 @@ export default function PortfolioSummary() {
const { data: v1Account } = useAccount(urlAddress)
const stats = useMemo(() => {
if (!accounts?.length) return
if (v1Account) accounts.push(v1Account)
if (v1Account && !accounts.find((account) => account.id === urlAddress))
accounts.push(v1Account)
const combinedAccount = accounts.reduce(
(combinedAccount, account) => {
combinedAccount.debts = combinedAccount.debts.concat(account.debts)

View File

@ -9,9 +9,8 @@ export default function V1Intro() {
text={
<>
The <span className='text-white'>Wallet Mode</span> provides simple lending and borrowing
without the use of Credit Accounts. Funds are{' '}
<span className='text-white'>not cross-collateralized</span> and can&lsquo;t be used in
the Trade or Farm interface.
without the use of Credit Accounts. Deposits{' '}
<span className='text-white'>can&lsquo;t be used</span> in the Trade or Farm interface.
</>
}
bg='v1'