Skip to content

Commit

Permalink
fix(doc-ui): 修复加载状态显示以确保用户体验
Browse files Browse the repository at this point in the history
  • Loading branch information
baranwang committed Dec 17, 2024
1 parent 3f0f2df commit d96d99a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/doc-ui/src/contributors/contributors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ export const Contributors: React.FC<ContributorsProps> = memo(({ repo }) => {
<Suspense fallback={<div className={styles.skeleton} />}>
<AsyncContributors />
</Suspense>
) : null}
) : (
<div className={styles.skeleton} />
)}
</div>
);
});

0 comments on commit d96d99a

Please sign in to comment.