We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b130a0f commit 94fd121Copy full SHA for 94fd121
packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
@@ -255,10 +255,7 @@ export default {
255
}
256
257
} else if (name === 'useTransition') {
258
- if (
259
- id.type === 'ArrayPattern' &&
260
- isArray(resolved.identifiers)
261
- ) {
+ if (id.type === 'ArrayPattern' && isArray(resolved.identifiers)) {
262
// Is first tuple value the same reference we're checking?
263
if (id.elements[0] === resolved.identifiers[0]) {
264
// Setter is stable.
0 commit comments