Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove unused vars
Browse files Browse the repository at this point in the history
Signed-off-by: csirius <[email protected]>
govalt committed Dec 14, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent cb48b9d commit 9bba167
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
@@ -45,7 +45,7 @@ export const EntityExecutions: React.FC<EntityExecutionsProps> = ({

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

const executions = useWorkflowExecutions(
6 changes: 2 additions & 4 deletions src/components/Entities/EntityExecutionsBarChart.tsx
Original file line number Diff line number Diff line change
@@ -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,
@@ -69,7 +67,7 @@ export const getExecutionTimeData = (
}
return new Array(fillSize - newExecutions.length)
.fill(0)
.map(_ => ({
.map(() => ({
value: 1,
color: '#e5e5e5'
}))

0 comments on commit 9bba167

Please sign in to comment.