diff --git a/package.json b/package.json index 3295a86..a48fa4e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "redux-devtools-inspector", - "version": "0.11.3", + "version": "0.11.4", "description": "Redux DevTools Diff Monitor", "scripts": { "build:lib": "NODE_ENV=production babel src --out-dir lib", diff --git a/src/tabs/getItemString.js b/src/tabs/getItemString.js index 04ebbbd..c1fe8bb 100644 --- a/src/tabs/getItemString.js +++ b/src/tabs/getItemString.js @@ -5,11 +5,11 @@ import getType from '../utils/getType'; import type { StylingFunction } from 'react-base16-styling'; function getShortTypeString(val: any, diff?: boolean): string { - const type = getType(val); - if (diff && Array.isArray(val)) { val = val[val.length === 2 ? 1 : 0]; } + + const type = getType(val); switch (type) { case 'Immutable List':