@@ -1,4 +1,5 @@ | |||||
import {Box, CircularProgress, Grid} from "@mui/material"; | |||||
import {Box, CircularProgress, Grid, Typography} from "@mui/material"; | |||||
import {FormattedMessage} from "react-intl"; | |||||
const LoadingComponent = () => { | const LoadingComponent = () => { | ||||
return ( | return ( | ||||
@@ -9,7 +10,13 @@ const LoadingComponent = () => { | |||||
alignItems="center" | alignItems="center" | ||||
// autoHeight={true} | // autoHeight={true} | ||||
> | > | ||||
<CircularProgress /> | |||||
<Grid container direction="column" alignItems="center"> | |||||
<CircularProgress/> | |||||
<Typography variant="h5"> | |||||
<FormattedMessage id="loading" /> | |||||
</Typography> | |||||
</Grid> | |||||
</Box> | </Box> | ||||
</Grid> | </Grid> | ||||
) | ) | ||||
@@ -360,6 +360,7 @@ | |||||
"dateFrom": "Date(From)", | "dateFrom": "Date(From)", | ||||
"dateTo": "Date(To)", | "dateTo": "Date(To)", | ||||
"of": "of", | "of": "of", | ||||
"loading": "Loading...", | |||||
"Dashboard": "Dashboard", | "Dashboard": "Dashboard", | ||||
"event": "Event" | "event": "Event" |
@@ -360,6 +360,7 @@ | |||||
"dateFrom": "日期(从)", | "dateFrom": "日期(从)", | ||||
"dateTo": "日期(到)", | "dateTo": "日期(到)", | ||||
"of": "於", | "of": "於", | ||||
"loading": "加载中...", | |||||
"Dashboard": "仪表板", | "Dashboard": "仪表板", | ||||
"event": "活动" | "event": "活动" |
@@ -360,6 +360,7 @@ | |||||
"dateFrom": "日期(從)", | "dateFrom": "日期(從)", | ||||
"dateTo": "日期(到)", | "dateTo": "日期(到)", | ||||
"of": "於", | "of": "於", | ||||
"loading": "加載中...", | |||||
"Dashboard": "儀表板", | "Dashboard": "儀表板", | ||||
"event": "活動" | "event": "活動" |