Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(shared): Add trim to mergeClasses #2522

Merged
merged 5 commits into from
Oct 28, 2024
Merged

Conversation

ericfennis
Copy link
Member

@ericfennis ericfennis commented Oct 8, 2024

fixes: #2498

Adds trim to mergeClasses function. Possibly fixes hydration issues in NextJS.
Also added a test and adjusted GH actions to run this change on each package.

@ericfennis ericfennis changed the title fix: Add trim to merge classes fix(shared): Add trim to merge classes Oct 8, 2024
@ericfennis ericfennis changed the title fix(shared): Add trim to merge classes fix(shared): Add trim to mergeClasses Oct 8, 2024
@benjick
Copy link
Contributor

benjick commented Oct 26, 2024

@ericfennis this needs prettier -w

@ericfennis ericfennis merged commit a1641a3 into main Oct 28, 2024
16 checks passed
@ericfennis ericfennis deleted the add-trim-to-merge-classes branch October 28, 2024 12:53
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.

NextJs 14 className hydration bug.
3 participants