Skip to content

Commit 60a8c3b

Browse files
committed
fixup
1 parent 7daa703 commit 60a8c3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-debug-tools/src/ReactDebugHooks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ function useDeferredValue<T>(value: T): T {
314314
hookLog.push({
315315
primitive: 'DeferredValue',
316316
stackError: new Error(),
317-
value: hook !== null ? hook.memoizedState[0] : value,
317+
value: hook !== null ? hook.memoizedState : value,
318318
});
319319
return value;
320320
}

0 commit comments

Comments
 (0)