Skip to content

Instantly share code, notes, and snippets.

@nickdotht
Created November 25, 2021 22:01
Show Gist options
  • Save nickdotht/6b0a60df4ab88608e5f36194db2d48ba to your computer and use it in GitHub Desktop.
Save nickdotht/6b0a60df4ab88608e5f36194db2d48ba to your computer and use it in GitHub Desktop.

Revisions

  1. Nick Rameau created this gist Nov 25, 2021.
    1 change: 1 addition & 0 deletions solution
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    This happens when you try to use JSX from a ts file. Make sure your file ends with `.tsx`, not `.ts`.