diff --git a/src/stores/JsonViewerStore.ts b/src/stores/JsonViewerStore.ts index 52834c52..0e6ba4aa 100644 --- a/src/stores/JsonViewerStore.ts +++ b/src/stores/JsonViewerStore.ts @@ -49,10 +49,10 @@ export const createJsonViewerStore = (props: JsonViewerProps) => onChange: props.onChange ?? (() => {}), keyRenderer: props.keyRenderer ?? DefaultKeyRenderer, editable: props.editable ?? true, + defaultInspectDepth: props.defaultInspectDepth ?? 5, // internal state inspectCache: {}, hoverPath: null, - defaultInspectDepth: 5, colorspace: lightColorspace, value: props.value },