Skip to content

Commit

Permalink
Remove compile error reference that is no longer correct
Browse files Browse the repository at this point in the history
  • Loading branch information
tcobbs-bentley committed Jun 25, 2024
1 parent 7878668 commit 00a636f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/mobile-ui-react/ResizablePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,7 @@ class TouchCaptor extends React.PureComponent<TouchCaptorProps> {
}

// @todo Use the functional version of TouchCaptor below after sufficient testing.
// // 2024-06-24: Converted to a function due to compile errors that I couldn't understand after
// // updating to iTwin 4.7.x.
// // 2024-06-24: Converted to a function.
// function TouchCaptor(props: TouchCaptorProps) {
// const { className, children, isTouchStarted, onTouchStart, onTouchMove, onTouchEnd } = props;
// const handleTouchStart = React.useCallback((e: React.TouchEvent<HTMLDivElement>) => {
Expand Down Expand Up @@ -554,8 +553,7 @@ class TouchDragHandle extends React.PureComponent<TouchDragHandleProps, TouchDra
}

// @todo Use the functional version of TouchDragHandle below after sufficient testing.
// // 2024-06-24: Converted to a function due to compile errors that I couldn't understand after
// // updating to iTwin 4.7.x.
// // 2024-06-24: Converted to a function.
// function TouchDragHandle(props: TouchDragHandleProps) {
// const { className, style, lastPosition, onDrag, onDragStart, onDragEnd, children } = props;
// const [ isPointerDown, setIsPointerDown ] = React.useState(false);
Expand Down

0 comments on commit 00a636f

Please sign in to comment.