react-filepond
react-filepond copied to clipboard
Remove extraneous { } from README code
The example code throws an "expected ..." error when the curly brackets on this line are included.
I can see lots online about needing curly brackets around comments in react, eg. {/* comment */}, but this is not compiling in my next.js app. I think it is because the comment is inside a tag. Happy to be wrong!
Thanks @lukestuts, I honestly don't know and currently have time to test this.
+1 for the PR. The curly braces comment syntax {
}
doesn't work when writing comments within a tag.
Example:
<div>
<SomeComponent
foo="bar" /* Here the comment shouldn't have {} */
/ >
{/* Here it does need {} */}
</div>