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

In tutorial, add fragments around multiple elements #133

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

sbleon
Copy link
Contributor

@sbleon sbleon commented Jan 20, 2025

In my React env, it's not possible to return multiple elements without a wrapping element or fragment, so the example code was not compiling.

In my React env, it's not possible to return multiple elements without a wrapping element or fragment, so the example code was not compiling.
@sbleon sbleon requested a review from jho406 as a code owner January 20, 2025 23:46
@jho406
Copy link
Collaborator

jho406 commented Jan 21, 2025

Nice catch! TY!

@jho406 jho406 merged commit b24b225 into thoughtbot:main Jan 21, 2025
2 checks passed
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