From 650938318611abed78fe265d450ec467460b5241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ignacy=20=C5=81=C4=85tka?= Date: Fri, 10 Jan 2025 18:11:39 +0100 Subject: [PATCH] Fix circular dependency (#3323) ## Description Fixes circular dependency introduced in #3202 ![image](https://github.com/user-attachments/assets/4900041c-47b1-410f-a4bb-6f3dc6bfe603) ## Test plan - `npx madge --image ./madge-graph-fixed.svg --extensions js,jsx,ts,tsx --circular .` --- src/components/Text.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Text.tsx b/src/components/Text.tsx index 80d394b5f7..f7f952f430 100644 --- a/src/components/Text.tsx +++ b/src/components/Text.tsx @@ -11,7 +11,8 @@ import { TextProps as RNTextProps, } from 'react-native'; -import { Gesture, GestureDetector } from '../'; +import { GestureObjects as Gesture } from '../handlers/gestures/gestureObjects'; +import { GestureDetector } from '../handlers/gestures/GestureDetector'; export const Text = forwardRef( (props: RNTextProps, ref: ForwardedRef) => {