Skip to content

Commit

Permalink
Remove validation from ref handler
Browse files Browse the repository at this point in the history
  • Loading branch information
j-piasecki authored May 14, 2024
1 parent bab8167 commit 067a8de
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/handlers/gestures/GestureDetector/useViewRefHandler.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { findNodeHandle } from '../../gestureHandlerCommon';
import { validateDetectorChildren } from './utils';

import { isFabric, tagMessage } from '../../../utils';
import { getShadowNodeFromRef } from '../../../getShadowNodeFromRef';
Expand All @@ -24,7 +23,6 @@ export function useViewRefHandler(
return;
}

validateDetectorChildren(ref);
state.viewRef = ref;

// if it's the first render, also set the previousViewTag to prevent reattaching gestures when not needed
Expand Down

0 comments on commit 067a8de

Please sign in to comment.