File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/react-native-gesture-handler/src/web/handlers Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import { MouseButton } from '../../handlers/gestureHandlerCommon';
19
19
import { PointerType } from '../../PointerType' ;
20
20
import { GestureHandlerDelegate } from '../tools/GestureHandlerDelegate' ;
21
21
import { ActionType } from '../../ActionType' ;
22
+ import { tagMessage } from '../../utils' ;
22
23
23
24
export default abstract class GestureHandler implements IGestureHandler {
24
25
private lastSentState : State | null = null ;
@@ -408,7 +409,7 @@ export default abstract class GestureHandler implements IGestureHandler {
408
409
409
410
private transformEventData ( newState : State , oldState : State ) : ResultEvent {
410
411
if ( ! this . viewRef ) {
411
- throw new Error ( 'Cannot handle event when target is null' ) ;
412
+ throw tagMessage ( 'Cannot handle event when target is null' ) ;
412
413
}
413
414
return {
414
415
nativeEvent : {
You can’t perform that action at this time.
0 commit comments