Skip to content

Fix Hydration Mismatch in OrbVisualizer Component (Closes #111)#123

Merged
rishima17 merged 2 commits intoNitya-003:mainfrom
vedhapprakashni:fix1
Feb 17, 2026
Merged

Fix Hydration Mismatch in OrbVisualizer Component (Closes #111)#123
rishima17 merged 2 commits intoNitya-003:mainfrom
vedhapprakashni:fix1

Conversation

@vedhapprakashni
Copy link
Contributor

@vedhapprakashni vedhapprakashni commented Feb 16, 2026

Fixed a bug where Math.random() caused hydration mismatches in the OrbVisualizer component. Moved random number generation for particles and animations into a useEffect hook to ensure consistent values between server and client rendering.

🔗 Related Issue
Closes #111

🛠️ Type of Change

🐛 Bug Fix

@vercel
Copy link

vercel bot commented Feb 16, 2026

@vedhapprakashni is attempting to deploy a commit to the Nitya Gosain's projects Team on Vercel.

A member of the Team first needs to authorize it.

@rishima17 rishima17 merged commit a904ec3 into Nitya-003:main Feb 17, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Hydration Mismatch in OrbVisualizer Component

2 participants

Comments