Skip to content

Commit

Permalink
[crud] Fix copy paste typo (#31588)
Browse files Browse the repository at this point in the history
Happens to the best of us.
  • Loading branch information
poteto authored Nov 19, 2024
1 parent 7c254b6 commit 7558ffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-reconciler/src/ReactFiberHooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -5241,8 +5241,8 @@ if (__DEV__) {
return mountEvent(callback);
};
}
if (InvalidNestedHooksDispatcherOnMountInDEV) {
(HooksDispatcherOnRerenderInDEV: Dispatcher).useResourceEffect =
if (enableUseResourceEffectHook) {
(InvalidNestedHooksDispatcherOnMountInDEV: Dispatcher).useResourceEffect =
function useResourceEffect(
create: () => mixed,
createDeps: Array<mixed> | void | null,
Expand Down

0 comments on commit 7558ffe

Please sign in to comment.