mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-22 06:00:07 +03:00
fix handle of the default value
This commit is contained in:
parent
fc0611d750
commit
5a6dc0e89f
|
@ -77,7 +77,7 @@ function ExpandButton({
|
|||
|
||||
if (
|
||||
shouldExpandNode === 'collapse' ||
|
||||
(isDefault && expandableDefaultValue === 'collapse')
|
||||
(isDefault && expandableDefaultValue === 'expand')
|
||||
) {
|
||||
return (
|
||||
<div role="presentation" onClick={onExpand}>
|
||||
|
@ -105,7 +105,7 @@ function CollapseButton({
|
|||
|
||||
if (
|
||||
shouldExpandNode === 'expand' ||
|
||||
(isDefault && expandableDefaultValue === 'expand')
|
||||
(isDefault && expandableDefaultValue === 'collapse')
|
||||
) {
|
||||
return (
|
||||
<div role="presentation" onClick={onCollapse}>
|
||||
|
|
Loading…
Reference in New Issue
Block a user