Skip to content

Commit

Permalink
fix ling
Browse files Browse the repository at this point in the history
  • Loading branch information
Assem-Uber committed Feb 11, 2025
1 parent efd3769 commit 82fb5d1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import differenceBy from 'lodash/differenceBy';

import { type HistoryEvent } from '@/__generated__/proto-ts/uber/cadence/api/v1/HistoryEvent';
import {
allWorkflowEventTypesAttrs,
allWorkflowEventTypesAttrsExtended,
} from '@/views/workflow-history/__fixtures__/all-workflow-event-types-attributes';
import { allWorkflowEventTypesAttrsExtended } from '@/views/workflow-history/__fixtures__/all-workflow-event-types-attributes';
import {
cancelActivityTaskEvent,
completeActivityTaskEvent,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { type HistoryEvent } from '@/__generated__/proto-ts/uber/cadence/api/v1/HistoryEvent';

import { type ExtendedHistoryEvent } from '../workflow-history.types';

import isChildWorkflowExecutionEvent from './check-history-event-group/is-child-workflow-execution-event';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { renderHook } from '@/test-utils/rtl';

import { completedActivityTaskEvents } from '../../__fixtures__/workflow-history-activity-events';
import { completedDecisionTaskEvents } from '../../__fixtures__/workflow-history-decision-events';
import useInitialSelectedEvent from '../use-initial-selected-event';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import differenceBy from 'lodash/differenceBy';

import { type HistoryEvent } from '@/__generated__/proto-ts/uber/cadence/api/v1/HistoryEvent';
import {
allWorkflowEventTypesAttrs,
allWorkflowEventTypesAttrsExtended,
} from '@/views/workflow-history/__fixtures__/all-workflow-event-types-attributes';
import { allWorkflowEventTypesAttrsExtended } from '@/views/workflow-history/__fixtures__/all-workflow-event-types-attributes';
import {
pendingActivityTaskStartEvent,
pendingDecisionTaskScheduleEvent,
Expand Down
2 changes: 1 addition & 1 deletion src/views/workflow-history/workflow-history.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export default function WorkflowHistory({ params }: Props) {
historySelectedEventId: eventId,
});
}

compactSectionListRef.current?.scrollToIndex({
index: eventGroupIndex,
align: 'start',
Expand Down

0 comments on commit 82fb5d1

Please sign in to comment.