Skip to content

Commit

Permalink
optional operator
Browse files Browse the repository at this point in the history
  • Loading branch information
agalin920 committed Jun 4, 2024
1 parent febe82a commit fa0301c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const DuplicateItemDialog = ({ onClose }: DuplicateItemProps) => {

const newData = { ...item.data };

uuidFieldKeys.forEach((key) => {
uuidFieldKeys?.forEach((key) => {
newData[key] = null; // Set each uuid key to null
});

Expand Down

0 comments on commit fa0301c

Please sign in to comment.