Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Dec 16, 2020
1 parent 8cc004f commit b25cd28
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { TimelineModel } from '../../../store/timeline/model';
import { EventDetails } from '../event_details';
import { ToggleExpandedEvent } from '../../../store/timeline/actions';
import { State } from '../../../../common/store';
import { calculateTotalPages } from '../helpers';

const StyledEuiFlyoutBody = styled(EuiFlyoutBody)`
overflow-y: hidden;
Expand Down Expand Up @@ -173,11 +174,16 @@ export const PinnedTabContentComponent: React.FC<Props> = ({
<EventDetailsWidthProvider>
<StyledEuiFlyoutBody data-test-subj="eui-flyout-body" className="timeline-flyout-body">
<StatefulBody
activePage={pageInfo.activePage}
browserFields={browserFields}
data={events}
id={timelineId}
refetch={refetch}
sort={sort}
totalPages={calculateTotalPages({
itemsCount: totalCount,
itemsPerPage,
})}
/>
</StyledEuiFlyoutBody>
<StyledEuiFlyoutFooter
Expand Down

0 comments on commit b25cd28

Please sign in to comment.