We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9cf80c commit 90ea03eCopy full SHA for 90ea03e
1 file changed
packages/devtool-extenstion/extension/core/hook.js
@@ -96,7 +96,10 @@ export function installHook(target) {
96
* @param {object} hook
97
*/
98
const doWorkWithHooks = (hook) => {
99
- if (hook.__reactContextDevtoolHookType == "useReducer") {
+ if (
100
+ hook.__reactContextDevtoolHookType == "useReducer" &&
101
+ hook.queue.lastRenderedReducer
102
+ ) {
103
let debugId = hook.queue.__reactContextDevtoolDebugId;
104
105
if (!debugId) {
0 commit comments