Skip to content

Commit

Permalink
Remove import cycles in FrameCallbackRegistries (#3422)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw authored Jul 29, 2022
1 parent 234e47c commit a6bcde3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runOnUI } from '..';
import { runOnUI } from '../core';
import { prepareUIRegistry } from './FrameCallbackRegistryUI';

export default class FrameCallbackRegistryJS {
Expand Down
2 changes: 1 addition & 1 deletion src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runOnUI } from '..';
import { runOnUI } from '../core';

export default interface FrameCallbackRegistryUI {
frameCallbackRegistry: Map<number, () => void>;
Expand Down

0 comments on commit a6bcde3

Please sign in to comment.