Skip to content

Commit

Permalink
Fix not importing from ReactFiberReconciler.old
Browse files Browse the repository at this point in the history
  • Loading branch information
baopham committed May 31, 2021
1 parent 182ba9e commit 411d733
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-reconciler/src/ReactFiberReconciler.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import {
findHostInstance as findHostInstance_old,
findHostInstanceWithWarning as findHostInstanceWithWarning_old,
findHostInstanceWithNoPortals as findHostInstanceWithNoPortals_old,
shouldError as shouldError_old,
shouldSuspend as shouldSuspend_old,
injectIntoDevTools as injectIntoDevTools_old,
act as act_old,
Expand Down Expand Up @@ -158,7 +159,7 @@ export const findHostInstanceWithNoPortals = enableNewReconciler
: findHostInstanceWithNoPortals_old;
export const shouldError = enableNewReconciler
? shouldError_new
: shouldError_new;
: shouldError_old;
export const shouldSuspend = enableNewReconciler
? shouldSuspend_new
: shouldSuspend_old;
Expand Down

0 comments on commit 411d733

Please sign in to comment.