mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 04:09:26 +00:00
fix: sonarcloud warning and code cleanup
This commit is contained in:
@@ -100,8 +100,8 @@ const NewTicketModal = ({ modalOpen, onClose }) => {
|
||||
handleSaveTicket(contact.id);
|
||||
};
|
||||
|
||||
const createAddContactOption = (options, params) => {
|
||||
const filtered = filter(options, params);
|
||||
const createAddContactOption = (filterOptions, params) => {
|
||||
const filtered = filter(filterOptions, params);
|
||||
|
||||
if (params.inputValue !== "" && !loading && searchParam.length >= 3) {
|
||||
filtered.push({
|
||||
|
||||
Reference in New Issue
Block a user