Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shaswat-indian committed Jan 17, 2024
1 parent a2bbad2 commit 41f8db2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Overlay/ConnectedOverlay/ConnectedOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const ConnectedOverlay: FC<ConnectedOverlayProps> = forwardRef(
onClose,
...rest
},
ref
_ref
) => {
const mounted = useRef<boolean>(false);
const overlayTriggerRef = useRef<any | null>(null);
Expand Down
2 changes: 1 addition & 1 deletion src/Overlay/ConnectedOverlay/ConnectedOverlayContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const ConnectedOverlayContent: FC<ConnectedOverlayContentProps> =
placement,
onClose
},
ref
_ref
) => {
const id = useId();
const [overlayIndex, setOverlayIndex] = useState<number | null>(null);
Expand Down
2 changes: 0 additions & 2 deletions src/Position/usePosition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ export const usePosition = (
placement: placement || 'top',
middleware: modifiers || [flip(), shift({ limiter: limitShift() })]
}).then(({ x, y }) => {
console.log(x, y);

Object.assign(elementRef.current.style, {
left: `${x}px`,
top: `${y}px`
Expand Down

0 comments on commit 41f8db2

Please sign in to comment.