Skip to content

Commit

Permalink
Revert change to FiberDebugPerf
Browse files Browse the repository at this point in the history
Turns out this isn't neccessary.
  • Loading branch information
acdlite committed Apr 1, 2019
1 parent ae089d7 commit 821a22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactDebugFiberPerf.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export function stopRequestCallbackTimer(
expirationTime: number,
): void {
if (enableUserTimingAPI) {
if (supportsUserTiming && isWaitingForCallback) {
if (supportsUserTiming) {
isWaitingForCallback = false;
const warning = didExpire ? 'React was blocked by main thread' : null;
endMark(
Expand Down

0 comments on commit 821a22f

Please sign in to comment.