From f1738f4d59c2a8ce317877c91fe17d9e76509628 Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Tue, 13 Feb 2024 23:28:39 +0100 Subject: [PATCH] Use same primitive name in form state hook log --- packages/react-debug-tools/src/ReactDebugHooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-debug-tools/src/ReactDebugHooks.js b/packages/react-debug-tools/src/ReactDebugHooks.js index 71764b52c463c..c3b8fcf5ed9b7 100644 --- a/packages/react-debug-tools/src/ReactDebugHooks.js +++ b/packages/react-debug-tools/src/ReactDebugHooks.js @@ -530,7 +530,7 @@ function useFormState( // If this was an uncached Promise we have to abandon this attempt // but we can still emit anything up until this point. hookLog.push({ - primitive: 'Unresolved', + primitive: 'FormState', stackError: new Error(), value: thenable, debugInfo: