Skip to content

Commit 62d6cdf

Browse files
committed
fix: circular dependency
1 parent 8756f6b commit 62d6cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useVirtualList/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useEffect, useState, useMemo } from 'react';
2-
import { useSize } from '../index';
2+
import useSize from '../useSize';
33

44
export interface OptionType {
55
itemHeight: number | ((index: number) => number);

0 commit comments

Comments
 (0)