Skip to content

fix(client): Resolve layout shift issue on the Profile page during data fetching - #217

Open
Daksh7785 wants to merge 2 commits into
Dharm3112:mainfrom
Daksh7785:fix/resolve-layout-shift-issue-on-the-profil
Open

fix(client): Resolve layout shift issue on the Profile page during data fetching#217
Daksh7785 wants to merge 2 commits into
Dharm3112:mainfrom
Daksh7785:fix/resolve-layout-shift-issue-on-the-profil

Conversation

@Daksh7785

Copy link
Copy Markdown

What does this PR do?

This PR replaces the return null fallback in packages/client/src/app/(app)/profile/page.tsx with a Skeleton loader.

Why is this necessary?

As per Issue #91, the profile page previously returned null while waiting for the component to mount and the user state to hydrate. This caused a Cumulative Layout Shift (CLS) when the page suddenly rendered. The skeleton loader mimics the profile header and tab structure to provide a smooth visual transition.

How was this verified?

  • Tested skeleton layout structure.
  • Verified npm run check compilation passes in client.

Thank you for reviewing!

@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Dharm3112's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Jul 19, 2026

Copy link
Copy Markdown

👷 Deploy request for intellicircle pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 67fba57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant