File tree 1 file changed +10
-11
lines changed
services/web-ui/src/pages/ProfilePage
1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 1
- import React from "react" ;
1
+ import { ReactElement } from "react" ;
2
2
3
- import { Skeleton , Typography } from "@mui/material" ;
3
+ import { Skeleton } from "@mui/material" ;
4
4
5
5
import { Center } from "src/components/ui/Center" ;
6
- import { useTranslation } from "src/core/i18n" ;
7
-
8
- export function ProfilePageSkeleton ( ) : React . ReactElement {
9
- const { t } = useTranslation ( "profile" ) ;
10
6
7
+ export function ProfilePageSkeleton ( ) : ReactElement {
11
8
return (
12
9
< >
13
10
< Center >
14
- < Skeleton height = { 200 } variant = "circular" width = { 200 } />
11
+ < Skeleton height = { 160 } variant = "circular" width = { 160 } />
15
12
</ Center >
16
13
17
- < Typography gutterBottom sx = { { paddingTop : 2 } } variant = "h5" >
18
- { t ( "description.title" ) }
19
- </ Typography >
14
+ < Center >
15
+ < Skeleton height = { 60 } width = { 120 } />
16
+ </ Center >
20
17
21
- < Skeleton height = { 200 } />
18
+ < Center >
19
+ < Skeleton height = { 60 } width = { 240 } />
20
+ </ Center >
22
21
</ >
23
22
) ;
24
23
}
You can’t perform that action at this time.
0 commit comments