After finalise with the internationarization of web part1
This commit is contained in:
parent
79d18dae13
commit
067e412bde
@ -3,6 +3,7 @@ import { useTheme } from '@mui/material/styles';
|
|||||||
import useMediaQuery from '@mui/material/useMediaQuery';
|
import useMediaQuery from '@mui/material/useMediaQuery';
|
||||||
import TrendingDownRoundedIcon from '@mui/icons-material/TrendingDownRounded';
|
import TrendingDownRoundedIcon from '@mui/icons-material/TrendingDownRounded';
|
||||||
import TrendingUpRoundedIcon from '@mui/icons-material/TrendingUpRounded';
|
import TrendingUpRoundedIcon from '@mui/icons-material/TrendingUpRounded';
|
||||||
|
import LockRoundedIcon from '@mui/icons-material/LockRounded';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import type { CandleDirection, CandlePredictConfig, CandlePredictInterval, CandlePredictRound, StakeAccountKind } from '../types';
|
import type { CandleDirection, CandlePredictConfig, CandlePredictInterval, CandlePredictRound, StakeAccountKind } from '../types';
|
||||||
@ -121,7 +122,9 @@ export function BettingPanel({
|
|||||||
<Alert severity="warning">{t('candlePredict.betting.gameDisabled')}</Alert>
|
<Alert severity="warning">{t('candlePredict.betting.gameDisabled')}</Alert>
|
||||||
)}
|
)}
|
||||||
{hasPrediction && (
|
{hasPrediction && (
|
||||||
<Alert severity="success">{t('candlePredict.betting.predictionLocked')}</Alert>
|
<Alert severity="success" icon={<LockRoundedIcon fontSize="inherit" />}>
|
||||||
|
{t('candlePredict.betting.predictionLocked')}
|
||||||
|
</Alert>
|
||||||
)}
|
)}
|
||||||
{round?.status === 'locked' && !hasPrediction && (
|
{round?.status === 'locked' && !hasPrediction && (
|
||||||
<Alert severity="info">
|
<Alert severity="info">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user