Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blokh/fix/refactor update category #517

Merged
merged 14 commits into from
Jun 14, 2023
Prev Previous commit
Next Next commit
removed log
Blokh committed Jun 8, 2023
commit c4bf16115d41404f9d2b6176feceb8d3b36149de
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ export const EditableDetails: FunctionComponent<IEditableDetails> = ({
item.value = item.dropdownOptions.find(
dropDownOption => dropDownOption.value == value,
)?.value;
console.log('item', item);

return (newData[newData.indexOf(item)] = item);
});
setFormData(newData);