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