mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +03:00
Fix build
This commit is contained in:
parent
10c3fae5ae
commit
1fd2f43541
|
@ -28,7 +28,8 @@ const getValueLabelStyle: StylingValue = ({ style }, nodeType, keyPath) => ({
|
|||
style: {
|
||||
...style,
|
||||
color:
|
||||
!Number.isNaN(keyPath[0]) && !(parseInt(keyPath, 10) % 2)
|
||||
!Number.isNaN((keyPath as unknown[])[0]) &&
|
||||
!(parseInt(keyPath as string, 10) % 2)
|
||||
? '#33F'
|
||||
: style!.color,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user