Skip to content

Commit

Permalink
switch out "items" for "params.topicMapItems" in onUpdate dependency …
Browse files Browse the repository at this point in the history
…array
  • Loading branch information
boyum committed Jan 7, 2022
1 parent 2d1d543 commit 619bc0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TopicMapItemForm/TopicMapItemForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const TopicMapItemForm: React.FC<TopicMapItemFormProps> = ({
}),
});
},
[itemId, onSave],
[onSave, params.topicMapItems],
);

return formParams && topicMapField ? (
Expand Down

0 comments on commit 619bc0b

Please sign in to comment.