Skip to content

Commit 06e2899

Browse files
authored
Minor spacing update
1 parent 33819d6 commit 06e2899

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

react/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,13 +421,13 @@ This style guide is mostly based on the standards that are currently prevalent i
421421
Filter out unnecessary props when possible. Also, use [prop-types-exact](https://www.npmjs.com/package/prop-types-exact) to help prevent bugs.
422422

423423
```jsx
424-
//good
424+
// good
425425
render() {
426426
const { irrelevantProp, ...relevantProps } = this.props;
427427
return <WrappedComponent {...relevantProps} />
428428
}
429429
430-
//bad
430+
// bad
431431
render() {
432432
const { irrelevantProp, ...relevantProps } = this.props;
433433
return <WrappedComponent {...this.props} />

0 commit comments

Comments
 (0)