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 the Unexpected token h1 error in jsx #118

Merged
merged 1 commit into from
Aug 4, 2023
Merged

fix the Unexpected token h1 error in jsx #118

merged 1 commit into from
Aug 4, 2023

Conversation

officialrajdeepsingh
Copy link
Contributor

fix the docs fetching data code block.

error

// error:  Unexpected token `h1`. Expected jsx identifier
return posts.map((post) => <h1>{post.title}</h1)

fix the jsx identifier error in docs

  return posts.map((post) => <h1>{post.title}</h1>)

Bug

  • Related issues linked using fixes #number
  • Integration tests added
  • Errors have a helpful link attached, see contributing.md

Feature

  • Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
  • Related issues linked using fixes #number
  • Integration tests added
  • Documentation added

@vercel
Copy link

vercel bot commented Aug 2, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @avitorio on Vercel.

@avitorio first needs to authorize it.

@avitorio avitorio merged commit 7a19f26 into avitorio:canary Aug 4, 2023
0 of 2 checks passed
@avitorio
Copy link
Owner

avitorio commented Aug 4, 2023

@officialrajdeepsingh thank you!

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.

None yet

2 participants