diff --git a/react/README.md b/react/README.md
index 340e780c..a3236574 100644
--- a/react/README.md
+++ b/react/README.md
@@ -440,17 +440,17 @@ This style guide is mostly based on the standards that are currently prevalent i
Filter out unnecessary props when possible. Also, use [prop-types-exact](https://www.npmjs.com/package/prop-types-exact) to help prevent bugs.
```jsx
- // good
- render() {
- const { irrelevantProp, ...relevantProps } = this.props;
- return
- }
-
// bad
render() {
const { irrelevantProp, ...relevantProps } = this.props;
return
}
+
+ // good
+ render() {
+ const { irrelevantProp, ...relevantProps } = this.props;
+ return
+ }
```
## Refs