Skip to content

Commit addb507

Browse files
committed
Remove console.warn
1 parent 6945ca8 commit addb507

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/components/touchables/GenericTouchable.tsx

-11
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
import type { NativeViewGestureHandlerPayload } from '../../handlers/GestureHandlerEventPayload';
1313
import type { TouchableNativeFeedbackExtraProps } from './TouchableNativeFeedbackProps';
1414
import type { GenericTouchableProps } from './GenericTouchableProps';
15-
import { tagMessage } from '../../utils';
1615

1716
/**
1817
* Each touchable is a states' machine which preforms transitions.
@@ -67,16 +66,6 @@ export default class GenericTouchable extends Component<
6766
// State of touchable
6867
STATE: TouchableState = TOUCHABLE_STATE.UNDETERMINED;
6968

70-
constructor(props: GenericTouchableProps & InternalProps) {
71-
super(props);
72-
73-
console.warn(
74-
tagMessage(
75-
'TouchableOpacity component will be removed in Gesture Handler 4'
76-
)
77-
);
78-
}
79-
8069
// handlePressIn in called on first touch on traveling inside component.
8170
// Handles state transition with delay.
8271
handlePressIn() {

0 commit comments

Comments
 (0)