Skip to content

Commit 7d8ef6e

Browse files
committed
Update WheelPicker.tsx
1 parent 73e9aec commit 7d8ef6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WheelPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const WheelPicker: React.FC<Props> = ({
4949
}) => {
5050
const flatListRef = useRef<FlatList>(null);
5151
const [scrollY] = useState(new Animated.Value(0));
52-
const flatList = useRef<Animated.FlatList>(null)
52+
const flatList = useRef<any>(null)
5353

5454
const SCROLL_DID_STOP_TIMEOUT = 500
5555
const lastScrollTimestamp = useRef(new Date().getTime())

0 commit comments

Comments
 (0)