1) useState call is not destructured into value + setter pair. 2) A fragment with only one child is redundant. 3) Unnecessary '.apply()' and '.call()'. 4) Expected the Promise rejection reason to be an Error. |
||
|---|---|---|
| .. | ||
| static/js | ||
| __init__.py | ||
1) useState call is not destructured into value + setter pair. 2) A fragment with only one child is redundant. 3) Unnecessary '.apply()' and '.call()'. 4) Expected the Promise rejection reason to be an Error. |
||
|---|---|---|
| .. | ||
| static/js | ||
| __init__.py | ||