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

Clean up extra spread array #362

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

spacetag
Copy link
Contributor

Map returns a new array, so we can just use that result directly, instead of spreading it into a new array!

Map [returns a new array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map), so we can just use that result directly, instead of spreading it into a new array!
Copy link

vercel bot commented Sep 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-typography ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 19, 2024 9:12pm

@adamwathan
Copy link
Member

Thanks!

@adamwathan adamwathan merged commit 383bee7 into tailwindlabs:main Sep 20, 2024
4 checks passed
@spacetag spacetag deleted the patch-1 branch September 25, 2024 17: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.

2 participants