Skip to content

Commit 1bafa91

Browse files
committed
fix: token icon
1 parent ea05f5c commit 1bafa91

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

pages/sgho.page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ export default function SavingsGho() {
9090
mb: { xs: 4, md: 6 },
9191
}}
9292
>
93-
<Box mb={{ xs: 4, md: 8 }}>
93+
<Box
94+
sx={{
95+
mb: { xs: 4, md: 8 },
96+
}}
97+
>
9498
<Typography variant="h3">
9599
<Trans>Savings GHO (sGHO)</Trans>
96100
</Typography>

src/modules/sGho/SGhoHeader.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Trans } from '@lingui/macro';
22
import { Box, Stack, Typography, useMediaQuery, useTheme } from '@mui/material';
33
import { useEffect } from 'react';
44
import { FormattedNumber } from 'src/components/primitives/FormattedNumber';
5+
import { TokenIcon } from 'src/components/primitives/TokenIcon';
56
import { TopInfoPanel } from 'src/components/TopInfoPanel/TopInfoPanel';
67
import { StakeTokenFormatted, useGeneralStakeUiData } from 'src/hooks/stake/useGeneralStakeUiData';
78
import { useStakeTokenAPR } from 'src/hooks/useStakeTokenAPR';
@@ -49,6 +50,8 @@ export const SGHOHeader: React.FC = () => {
4950
titleComponent={
5051
<Box mb={4}>
5152
<Box sx={{ display: 'flex', alignItems: 'center', mb: 4 }}>
53+
<TokenIcon symbol="sgho" sx={{ width: 32, height: 32 }} />
54+
5255
<Typography
5356
variant={downToXSM ? 'h2' : upToLG ? 'display1' : 'h1'}
5457
sx={{ ml: 2, mr: 3 }}

0 commit comments

Comments
 (0)