fix: #1311, select existing upload modal always updates state

This commit is contained in:
James
2022-10-31 15:40:18 -04:00
parent 00196a8631
commit e2ec2f7b97

View File

@@ -68,8 +68,9 @@ const SearchFilter: React.FC<Props> = (props) => {
where: newWhere,
}),
});
setPreviousSearch(debouncedSearch);
}
setPreviousSearch(debouncedSearch);
}
}, [debouncedSearch, previousSearch, history, fieldName, params, handleChange, modifySearchQuery, listSearchableFields]);