Skip to content

Commit

Permalink
fix: rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
amje committed Dec 6, 2023
1 parent 7a5ae9e commit 30f485a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/List/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ export class List<T = unknown> extends React.Component<ListProps<T>, ListState<T
itemCount={items.length}
overscanCount={10}
onItemsRendered={this.onItemsRendered}
direction={this.context.direction}
// this property used to rerender items in viewport
// must be last, typescript skips checks for all props behind ts-ignore/ts-expect-error
// @ts-expect-error
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/private/usePopper/usePopper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type popper from '@popperjs/core';
import {usePopper as useReactPopper} from 'react-popper';
import type {Modifier} from 'react-popper';

import {useDirection} from '../theme';
import {useDirection} from '../../../components/theme';

export type PopperPlacement = popper.Placement | popper.Placement[];
export type PopperOffset = [number, number];
Expand Down

0 comments on commit 30f485a

Please sign in to comment.