(index)
| 55 | |
| 56 | //function for remove email |
| 57 | const removeChip = (index) => { |
| 58 | const updateEmailCount = emailList.filter((data, key) => key !== index); |
| 59 | setEmailList(updateEmailCount); |
| 60 | }; |
| 61 | //function for get email value |
| 62 | const handleEmailValue = (e) => { |
| 63 | const value = e.target.value?.toLowerCase()?.replace(/\s/g, ""); |