Skip to content

Commit

Permalink
fix hook dep
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jan 7, 2025
1 parent 0798b1f commit ec41b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/manager/WorkflowListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const TYPE_TAG_DISPLAY = {

const WorkflowInputTag = ({ id, type, children }) => {
const typeNoArray = type.replace("[]", "");
const display = useMemo(() => TYPE_TAG_DISPLAY[typeNoArray], [type]);
const display = useMemo(() => TYPE_TAG_DISPLAY[typeNoArray], [typeNoArray]);
return (
<Tag key={id} color={display.color} style={{ marginBottom: "2px" }}>
{display.icon}&nbsp;
Expand Down

0 comments on commit ec41b9d

Please sign in to comment.