@@ -24,7 +24,8 @@ import { unsubscribe } from '../../../utils/subscriptions';
24
24
import { useMountedRef } from '../../../hooks/mount' ;
25
25
import { useSDCard } from '../../../hooks/sdcard' ;
26
26
import { Status } from '../../../components/status/status' ;
27
- import { Header } from '../../../components/layout' ;
27
+ import { GuideWrapper , GuidedContent , Header , Main } from '../../../components/layout' ;
28
+ import { View } from '../../../components/view/view' ;
28
29
import { Chart } from './chart' ;
29
30
import { SummaryBalance } from './summarybalance' ;
30
31
import { AddBuyReceiveOnEmptyBalances } from '../info/buyReceiveCTA' ;
@@ -147,16 +148,16 @@ export function AccountsSummary({
147
148
} , [ onStatusChanged , getAccountsTotalBalance , accounts ] ) ;
148
149
149
150
return (
150
- < div className = "contentWithGuide" >
151
- < div className = "container" >
152
- < div className = "innerContainer scrollableContainer" >
151
+ < GuideWrapper >
152
+ < GuidedContent >
153
+ < Main >
153
154
< Status hidden = { ! hasCard } type = "warning" >
154
155
{ t ( 'warning.sdcard' ) }
155
156
</ Status >
156
157
< Header title = { < h2 > { t ( 'accountSummary.title' ) } </ h2 > } >
157
158
< HideAmountsButton />
158
159
</ Header >
159
- < div className = "content padded" >
160
+ < View >
160
161
< Chart
161
162
hideAmounts = { hideAmounts }
162
163
data = { summaryData }
@@ -171,9 +172,9 @@ export function AccountsSummary({
171
172
totalBalancePerCoin = { totalBalancePerCoin }
172
173
balances = { balances }
173
174
/>
174
- </ div >
175
- </ div >
176
- </ div >
175
+ </ View >
176
+ </ Main >
177
+ </ GuidedContent >
177
178
< Guide >
178
179
< Entry key = "accountSummaryDescription" entry = { t ( 'guide.accountSummaryDescription' ) } />
179
180
< Entry key = "accountSummaryAmount" entry = { {
@@ -186,6 +187,6 @@ export function AccountsSummary({
186
187
} } />
187
188
< Entry key = "trackingModePortfolioChart" entry = { t ( 'guide.trackingModePortfolioChart' ) } />
188
189
</ Guide >
189
- </ div >
190
+ </ GuideWrapper >
190
191
) ;
191
192
}
0 commit comments