Skip to content

Commit

Permalink
refactor(fetchTodoById): use tripple equal instead of double equal
Browse files Browse the repository at this point in the history
  • Loading branch information
didde committed Dec 28, 2021
1 parent b977cf4 commit 2cbee1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/playground/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ function fetchTodoById({ id }) {
new Error(JSON.stringify({ fetchTodoById: { id } }, null, 2))
);
}
resolve(list.find((d) => d.id == id));
resolve(list.find((d) => d.id === id));
}, queryTimeMin + Math.random() * (queryTimeMax - queryTimeMin));
});
}
Expand Down

0 comments on commit 2cbee1c

Please sign in to comment.