Skip to content

Commit 554243e

Browse files
sjmuellerfacebook-github-bot
authored andcommitted
Fix TouchHistoryMath import
Summary: The reference needed to be updated after the file was moved in this commit: 06085d3 Otherwise, results in the packager failing with the following error: > Unable to resolve module TouchHistoryMath from /node_modules/react-native/Libraries/Interaction/PanResponder.js: Module TouchHistoryMath does not exist in the Haste module map Closes #18732 Differential Revision: D7547181 Pulled By: sebmarkbage fbshipit-source-id: 78028c2f46faa2ce130a1a0c25fcaca47d2516a8
1 parent 16bed9e commit 554243e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/Interaction/PanResponder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'use strict';
1111

1212
const InteractionManager = require('./InteractionManager');
13-
const TouchHistoryMath = require('TouchHistoryMath');
13+
const TouchHistoryMath = require('./TouchHistoryMath');
1414

1515
const currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXOfTouchesChangedAfter;
1616
const currentCentroidYOfTouchesChangedAfter = TouchHistoryMath.currentCentroidYOfTouchesChangedAfter;

0 commit comments

Comments
 (0)