Skip to content

Commit

Permalink
chore: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
schottra committed Jul 6, 2020
1 parent 4032c0f commit a1111f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Executions/Tables/WorkflowExecutionsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ export const WorkflowExecutionsTable: React.FC<WorkflowExecutionsTableProps> = p
const execution = executions[rowProps.index];
const cacheKey = getCacheKey(execution.id);
const onExpandCollapseError = (expanded: boolean) => {
setExpandedErrors(currentExpandedErrors => ({ ...currentExpandedErrors, [cacheKey]: expanded }));
setExpandedErrors(currentExpandedErrors => ({
...currentExpandedErrors,
[cacheKey]: expanded
}));
recomputeRow(rowProps.index);
};
return (
Expand Down

0 comments on commit a1111f9

Please sign in to comment.