Skip to content

Commit 4f8a7b4

Browse files
committed
- DEVSU-2597
- Fix bug where kbmatchtag could be undefined in kbData in kbMatchesActionCellRenderer dependency array
1 parent 941ad3b commit 4f8a7b4

File tree

1 file changed

+1
-1
lines changed
  • app/components/DataTable/components/KbMatchesActionCellRenderer

1 file changed

+1
-1
lines changed

app/components/DataTable/components/KbMatchesActionCellRenderer/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const KbMatchesActionCellRenderer = (props: ActionCellRendererProps) => {
171171
return category;
172172
});
173173
setSelectedRows([data]);
174-
}, [category, data, approvedTherapy, matchedCancer, kbData.kbmatchTag, setMoveKbMatchesDialogOpen, setMoveKbMatchesTableName, setSelectedRows]);
174+
}, [category, data, approvedTherapy, matchedCancer, kbData?.kbmatchTag, setMoveKbMatchesDialogOpen, setMoveKbMatchesTableName, setSelectedRows]);
175175

176176
if (!REPORT_TYPES_TO_SHOW_EXTRA_MENU.includes(reportType)) {
177177
return <ActionCellRenderer {...props} />;

0 commit comments

Comments
 (0)