rm debug
parent
3ae524ec0a
commit
8f81a0c0c7
|
@ -44,8 +44,6 @@ function UseVoteLocalStorage() {
|
|||
const vote = (id, up) => {
|
||||
const newVotes = [...storageVotes];
|
||||
|
||||
console.log("new", newVotes);
|
||||
|
||||
const existingVoteIndex = newVotes.findIndex((vote) => vote.id === id);
|
||||
|
||||
if (existingVoteIndex !== -1) {
|
||||
|
|
Loading…
Reference in New Issue