Skip to content

Commit 93824ec

Browse files
authored
refactor(examples): use triple equal instead of double equal (TanStack#3135)
1 parent d7faf86 commit 93824ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/playground/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function fetchTodoById({ id }) {
397397
new Error(JSON.stringify({ fetchTodoById: { id } }, null, 2))
398398
);
399399
}
400-
resolve(list.find((d) => d.id == id));
400+
resolve(list.find((d) => d.id === id));
401401
}, queryTimeMin + Math.random() * (queryTimeMax - queryTimeMin));
402402
});
403403
}

0 commit comments

Comments
 (0)