Skip to content

Commit

Permalink
chore: rename terms
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-1979 committed Nov 16, 2024
1 parent 80d3a9f commit 7af7fed
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default function TotalChart ({ accountAssets, pricesInCurrency }: Props):
<Grid alignItems='flex-start' container item justifyContent='space-between' mb='10px'>
<Grid alignItems='center' item>
<Typography sx={{ fontSize: '20px', fontVariant: 'small-caps', fontWeight: 400 }}>
{t('Total')}
{t('Balance')}
</Typography>
</Grid>
<Grid alignItems='center' item justifyItems='flex-end'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const AccountTotal = ({ hideNumbers, totalBalance }: { hideNumbers: boolean | un
<Grid alignItems='center' container item xs>
<Grid alignItems='center' container gap='15px' item justifyContent='center' width='fit-content'>
<Typography color='secondary.contrastText' fontSize='16px' fontWeight={400} pl='15px'>
{t('Total')}:
{t('Balance')}:
</Typography>
{
hideNumbers || hideNumbers === undefined
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function TotalBalancePieChart ({ setGroupedAssets }: Props): React.ReactElement
<Grid alignItems='flex-start' container direction='column' item justifyContent='flex-start' sx={{ bgcolor: 'background.paper', borderRadius: '5px', boxShadow: '2px 3px 4px 0px rgba(0, 0, 0, 0.1)', height: 'fit-content', p: '15px 25px 10px', width: '430px' }}>
<Grid alignItems='flex-start' container item justifyContent='flex-start'>
<Typography sx={{ fontSize: '18px', fontVariant: 'small-caps', fontWeight: 400 }}>
{t('My Portfolio')}
{t('Total balance')}
</Typography>
<Grid alignItems='center' container item justifyContent = 'space-between' sx={{ m: '13px 0 5px 0' }}>
{!youHave || isHideNumbers
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-polkagate/src/popup/home/YouHave.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default function YouHave (): React.ReactElement {
<Grid container sx={{ position: 'relative', px: '10px', py: '5px' }}>
<Grid container item sx={{ textAlign: 'left' }}>
<Typography sx={{ fontSize: '16px', fontVariant: 'small-caps', fontWeight: 400, lineHeight: 'normal', mt: '10px' }}>
{t('My Portfolio')}
{t('Total balance')}
</Typography>
</Grid>
<Grid container item justifyContent='flex-start' pt='15px'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { MAX_NOMINATIONS } from '../constants';
import getApi from '../getApi.ts';

async function getStakingConsts(endpoint) {
async function getStakingConsts (endpoint) {
try {
const api = await getApi(endpoint);
const at = await api.rpc.chain.getFinalizedHead();
Expand Down

0 comments on commit 7af7fed

Please sign in to comment.