@samitouri / QOS-React-1 / commits / 7558ffe84d

[crud] Fix copy paste typo (#31588)

Happens to the best of us.

lauren committed Nov 19, 2024 at 17:13 UTC 7558ffe84df6bab5d701fd90de1c6313f9a1c066
1 file changed +2 -2
packages/react-reconciler/src/ReactFiberHooks.js
+2 -2
@@ -5241,8 +5241,8 @@ if (__DEV__) {
5241 return mountEvent(callback);
5242 };
5243 }
5244 - if (InvalidNestedHooksDispatcherOnMountInDEV) {
5245 - (HooksDispatcherOnRerenderInDEV: Dispatcher).useResourceEffect =
5244 + if (enableUseResourceEffectHook) {
5245 + (InvalidNestedHooksDispatcherOnMountInDEV: Dispatcher).useResourceEffect =
5246 function useResourceEffect(
5247 create: () => mixed,
5248 createDeps: Array<mixed> | void | null,