fix: #1311, select existing upload modal always updates state
This commit is contained in:
@@ -68,8 +68,9 @@ const SearchFilter: React.FC<Props> = (props) => {
|
||||
where: newWhere,
|
||||
}),
|
||||
});
|
||||
setPreviousSearch(debouncedSearch);
|
||||
}
|
||||
|
||||
setPreviousSearch(debouncedSearch);
|
||||
}
|
||||
}, [debouncedSearch, previousSearch, history, fieldName, params, handleChange, modifySearchQuery, listSearchableFields]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user