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. |
||
|---|---|---|
| .. | ||
| erd_tool | ||
| ERDModule.js | ||
| index.js | ||
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. |
||
|---|---|---|
| .. | ||
| erd_tool | ||
| ERDModule.js | ||
| index.js | ||