feat: fixes
This commit is contained in:
@@ -55,7 +55,12 @@ const ValidateCover = () => {
|
||||
|
||||
const handleSelectOption = useCallback(
|
||||
async (option) => {
|
||||
if (!option || option?.id === selectedOptionId || isSelecting) {
|
||||
if (
|
||||
!option ||
|
||||
option?.id === selectedOptionId ||
|
||||
isSelecting ||
|
||||
selectedOptionId // Prevent re-selection
|
||||
) {
|
||||
return;
|
||||
}
|
||||
const existingCover = selectedProject?.cover || {};
|
||||
|
||||
Reference in New Issue
Block a user