Skip to content

Commit 3662572

Browse files
committed
docs: minor improvements
1 parent 6a1d24b commit 3662572

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/plugins/eslint-plugin-react-x/src/rules/no-string-refs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ class Input extends React.Component {
5858
this.refs.input.focus();
5959
};
6060
render() {
61-
return <input ref={ref => this.refs.input = ref} />;
61+
// dprint-ignore
62+
return <input ref={ref => { this.refs.input = ref; }} />;
6263
}
6364
}
6465
```

0 commit comments

Comments
 (0)