Skip to content

Commit

Permalink
Update modules/react/collection/lib/useOverflowListMeasure.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBoll authored Nov 4, 2024
1 parent 3ef2add commit 3ef9aeb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/react/collection/lib/useOverflowListMeasure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {useOverflowListModel} from './useOverflowListModel';
* overflow detection.
*/
export const useOverflowListMeasure = createElemPropsHook(useOverflowListModel)((model, ref) => {
// const localRef = React.useRef(null);
const {elementRef, localRef} = useLocalRef(ref as React.Ref<HTMLElement>);
const gapProperty = model.state.orientation === 'horizontal' ? 'columnGap' : 'rowGap';

Expand Down

0 comments on commit 3ef9aeb

Please sign in to comment.