This commit is contained in:
Enix 2025-07-07 12:40:06 +02:00 committed by GitHub
commit dcc2ccb6e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
'@redux-devtools/inspector-monitor': patch
---
Support sort keys alphabetically in Action and Diff tabs

View File

@ -14,6 +14,7 @@ const ActionTab: FunctionComponent<
labelRenderer,
dataTypeKey,
isWideLayout,
sortStateTreeAlphabetically,
}) => (
<JSONTree
labelRenderer={labelRenderer}
@ -24,6 +25,7 @@ const ActionTab: FunctionComponent<
}
invertTheme={invertTheme}
hideRoot
sortObjectKeys={sortStateTreeAlphabetically}
/>
);

View File

@ -12,6 +12,7 @@ const DiffTab: FunctionComponent<
labelRenderer,
isWideLayout,
dataTypeKey,
sortStateTreeAlphabetically,
}) => (
<JSONDiff
{...{
@ -21,6 +22,7 @@ const DiffTab: FunctionComponent<
labelRenderer,
isWideLayout,
dataTypeKey,
sortObjectKeys: sortStateTreeAlphabetically,
}}
/>
);