Fix skeleton for MyPagesMobileMenu

This commit is contained in:
Anton Gunnarsson
2024-11-14 13:25:44 +01:00
parent 16882fc20a
commit 40df15d0e5
3 changed files with 21 additions and 7 deletions

View File

@@ -77,10 +77,12 @@ export default function MyPagesMenu({
export function MyPagesMenuSkeleton() {
return (
<MainMenuButton>
<Avatar />
<SkeletonShimmer width="10ch" />
<ChevronDownSmallIcon className={`${styles.chevron}`} color="red" />
</MainMenuButton>
<div className={styles.myPagesMenu}>
<MainMenuButton>
<Avatar />
<SkeletonShimmer width="10ch" />
<ChevronDownSmallIcon className={`${styles.chevron}`} color="red" />
</MainMenuButton>
</div>
)
}