mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-23 15:41:33 +00:00
Fix overloaded variable in addMultiple
This commit is contained in:
@@ -22,8 +22,8 @@ export const useEmailSelection = function(){
|
|||||||
emails.add(id);
|
emails.add(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const addMultiple = (emails) => {
|
const addMultiple = (newEmails) => {
|
||||||
emails.forEach(email => {
|
newEmails.forEach(email => {
|
||||||
emails.add(email)
|
emails.add(email)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user