diff --git a/packages/react-devtools-shared/src/devtools/views/Components/KeyValue.js b/packages/react-devtools-shared/src/devtools/views/Components/KeyValue.js index ca2f623c1a4c1..ecfc3499795b5 100644 --- a/packages/react-devtools-shared/src/devtools/views/Components/KeyValue.js +++ b/packages/react-devtools-shared/src/devtools/views/Components/KeyValue.js @@ -255,6 +255,8 @@ export default function KeyValue({ displayValue = 'null'; } else if (value === undefined) { displayValue = 'undefined'; + } else if (isNaN(value)) { + displayValue = 'NaN'; } let shouldDisplayValueAsLink = false;