From 1811f2d440ede7ba34f7d909fe76fe7cc8a67303 Mon Sep 17 00:00:00 2001 From: computerjazz Date: Tue, 19 Apr 2022 09:42:54 -0700 Subject: [PATCH] prevent circular import --- src/components/NestableDraggableFlatList.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/NestableDraggableFlatList.tsx b/src/components/NestableDraggableFlatList.tsx index bf45c6ea..41ae56eb 100644 --- a/src/components/NestableDraggableFlatList.tsx +++ b/src/components/NestableDraggableFlatList.tsx @@ -1,7 +1,8 @@ import React, { useMemo, useRef, useState } from "react"; import { findNodeHandle, LogBox } from "react-native"; import Animated, { add } from "react-native-reanimated"; -import DraggableFlatList, { DraggableFlatListProps } from "../index"; +import { DraggableFlatListProps } from "../types"; +import DraggableFlatList from "../components/DraggableFlatList"; import { useNestableScrollContainerContext } from "../context/nestableScrollContainerContext"; import { useNestedAutoScroll } from "../hooks/useNestedAutoScroll";