File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
35
35
* [ Docs] [ ` jsx-key ` ] : fix correct example ([ #3656 ] [ ] @developer-bandi )
36
36
* [ Tests] ` jsx-wrap-multilines ` : passing tests ([ #3545 ] [ ] @burtek )
37
37
* [ Docs] [ ` iframe-missing-sandbox ` ] : fix link to iframe attribute on mdn ([ #3690 ] [ ] @nnmrts )
38
+ * [ Docs] [ ` hook-use-state ` ] : fix an undefined variable ([ #3626 ] [ ] @chentsulin )
38
39
39
40
[ #3690 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3690
40
41
[ #3680 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3680
@@ -54,6 +55,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
54
55
[ #3634 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3634
55
56
[ #3633 ] : https://github.com/jsx-eslint/eslint-plugin-react/issues/3633
56
57
[ #3630 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3630
58
+ [ #3626 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3626
57
59
[ #3623 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3623
58
60
[ #3615 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3615
59
61
[ #3545 ] : https://github.com/jsx-eslint/eslint-plugin-react/issues/3545
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export default function useColor() {
27
27
// useState call is destructured into value + setter pair, but identifier
28
28
// names do not follow the [thing, setThing] naming convention
29
29
const [color , updateColor ] = React .useState ();
30
- return useStateResult ;
30
+ return [color, updateColor] ;
31
31
}
32
32
```
33
33
You can’t perform that action at this time.
0 commit comments