Skip to content

Commit 94fd121

Browse files
authored
apply prettier (#21165)
1 parent b130a0f commit 94fd121

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,7 @@ export default {
255255
}
256256
}
257257
} else if (name === 'useTransition') {
258-
if (
259-
id.type === 'ArrayPattern' &&
260-
isArray(resolved.identifiers)
261-
) {
258+
if (id.type === 'ArrayPattern' && isArray(resolved.identifiers)) {
262259
// Is first tuple value the same reference we're checking?
263260
if (id.elements[0] === resolved.identifiers[0]) {
264261
// Setter is stable.

0 commit comments

Comments
 (0)