apply prettier (#21165)
Behnam Mohammadi committed
Apr 1, 2021 at 23:39 UTC
94fd1214d2054799485cdcca87a37d956a4240eb
1 file changed
+1
-4
packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
+1
-4
@@ -255,10 +255,7 @@ export default {
255
}
256
}
257
} else if (name === 'useTransition') {
258
- if (
259
- id.type === 'ArrayPattern' &&
260
- isArray(resolved.identifiers)
261
- ) {
258
+ if (id.type === 'ArrayPattern' && isArray(resolved.identifiers)) {
259
// Is first tuple value the same reference we're checking?
260
if (id.elements[0] === resolved.identifiers[0]) {
261
// Setter is stable.