Skip to content

Commit

Permalink
Removed unused arg (deephaven#1909)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Apr 11, 2024
1 parent dac492f commit f2be02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-hooks/src/useContentRect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function useContentRect<T>(
);

const handleResize = useCallback(
([firstEntry]: ResizeObserverEntry[], _observer: ResizeObserver): void => {
([firstEntry]: ResizeObserverEntry[]): void => {
setContentRect(firstEntry?.contentRect ?? new DOMRect());
},
[]
Expand Down

0 comments on commit f2be02b

Please sign in to comment.