Skip to content

Commit

Permalink
fix(Page): fix icon loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrotzpc committed May 17, 2024
1 parent b4d1ca5 commit c63776b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Page/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const PageHeader: React.FC<PageHeaderProps> = props => {
if (loading) {
return (
<Flex className={cx(styles.root, className)} gap={20}>
{icon && <Skeleton.Avatar active shape="square" size={64} />}
<Skeleton.Avatar active shape="square" size={64} />
<Flex flex="2" justify="space-between" vertical>
<Skeleton.Input active size={25 as any} />
<Skeleton.Input active size={18 as any} />
Expand Down
1 change: 1 addition & 0 deletions src/Page/Header/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const useStyles = createStyles(
icon: css`
width: 64px;
height: 64px;
background-color: ${token.colorFillTertiary};
border-radius: ${token.borderRadiusLG}px;
`,
title: css`
Expand Down

0 comments on commit c63776b

Please sign in to comment.