From a6bcde36a16b44ab6c6731041132ceea57ee5783 Mon Sep 17 00:00:00 2001 From: Tomek Zawadzki Date: Fri, 29 Jul 2022 11:41:44 +0200 Subject: [PATCH] Remove import cycles in FrameCallbackRegistries (#3422) --- src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts | 2 +- src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts b/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts index a402b5282af..b0f3dd4fca7 100644 --- a/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts +++ b/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts @@ -1,4 +1,4 @@ -import { runOnUI } from '..'; +import { runOnUI } from '../core'; import { prepareUIRegistry } from './FrameCallbackRegistryUI'; export default class FrameCallbackRegistryJS { diff --git a/src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts b/src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts index a36ca0dc364..73c762ddaa2 100644 --- a/src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts +++ b/src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts @@ -1,4 +1,4 @@ -import { runOnUI } from '..'; +import { runOnUI } from '../core'; export default interface FrameCallbackRegistryUI { frameCallbackRegistry: Map void>;