mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
default export
This commit is contained in:
parent
68dba9705f
commit
9a8a6e9e19
|
@ -97,7 +97,7 @@ interface Props extends CircularPropsPassedThroughJSONNestedNode {
|
|||
expandable: boolean;
|
||||
}
|
||||
|
||||
function JSONNestedNode(props: Props) {
|
||||
export default function JSONNestedNode(props: Props) {
|
||||
const {
|
||||
getItemString,
|
||||
nodeTypeIndicator,
|
||||
|
@ -126,8 +126,6 @@ function JSONNestedNode(props: Props) {
|
|||
});
|
||||
}, [isCircular, data, keyPath, level, shouldExpandNode]);
|
||||
|
||||
// fixme - previously this was happening after a component should update
|
||||
// this should be moved to a useMemo and updated only when some props change
|
||||
const renderedChildren =
|
||||
expanded || (hideRoot && props.level === 0)
|
||||
? renderChildNodes({ ...props, level: props.level + 1 })
|
||||
|
|
Loading…
Reference in New Issue
Block a user