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

chore: cleanup usage of clsx #22

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Conversation

SethFalco
Copy link
Member

Simplifies the code a little by removing clsx where it wasn't doing anything before. When writing the initial site, I misunderstood how clsx was meant to be used, and used it for all classes, when it's only useful for multiple classes or conditional classes.

Just tidies things up, and has a negligible (but positive) impact on bundle size.

@SethFalco SethFalco merged commit b30bf2b into svg:main Sep 6, 2024
1 check passed
@SethFalco SethFalco deleted the clean-up-clsx branch September 6, 2024 16:37
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