Skip to content

Commit

Permalink
fix: remove unused vars
Browse files Browse the repository at this point in the history
Signed-off-by: csirius <85753828+csirius@users.noreply.github.com>
  • Loading branch information
govalt committed Dec 14, 2021
1 parent cb48b9d commit 9bba167
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions output.log

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Entities/EntityExecutions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const EntityExecutions: React.FC<EntityExecutionsProps> = ({

const baseFilters = React.useMemo(
() => executionFilterGenerator[resourceType](id),
[id]
[id, resourceType]
);

const executions = useWorkflowExecutions(
Expand Down
6 changes: 2 additions & 4 deletions src/components/Entities/EntityExecutionsBarChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ import { useWorkflowExecutionFiltersState } from 'components/Executions/filters/
import { useWorkflowExecutions } from 'components/hooks/useWorkflowExecutions';
import { SortDirection } from 'models/AdminEntity/types';
import { ResourceIdentifier } from 'models/Common/types';
import { Execution, WorkflowExecutionIdentifier } from 'models/Execution/types';
import { Execution } from 'models/Execution/types';
import { executionSortFields } from 'models/Execution/constants';
import { Routes } from 'routes/routes';
import { history } from 'routes/history';
import { executionFilterGenerator } from './generators';
import {
getWorkflowExecutionPhaseConstants,
Expand Down Expand Up @@ -69,7 +67,7 @@ export const getExecutionTimeData = (
}
return new Array(fillSize - newExecutions.length)
.fill(0)
.map(_ => ({
.map(() => ({
value: 1,
color: '#e5e5e5'
}))
Expand Down

0 comments on commit 9bba167

Please sign in to comment.