Skip to content

Commit

Permalink
Update src/catalogue/category/cataloguePropertiesForm.component.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadkitenge authored Apr 9, 2024
1 parent b1a5cdc commit 9135e89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/catalogue/category/cataloguePropertiesForm.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ function CataloguePropertiesForm(props: CataloguePropertiesFormProps) {
);

if (index === -1) {
// Item with given cip_placement_id not found
return; // or handle the error accordingly
return;
}

const currentField = updatedFormFields[index];
Expand Down

0 comments on commit 9135e89

Please sign in to comment.