Skip to content

Commit 03c1ba3

Browse files
committed
Change JsonView default initialExpandDepth from 2 to 3
1 parent 2588f3a commit 03c1ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/JsonView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function tryParseJson(str: string): { success: boolean; data: JsonValue } {
2323
}
2424

2525
const JsonView = memo(
26-
({ data, name, initialExpandDepth = 2 }: JsonViewProps) => {
26+
({ data, name, initialExpandDepth = 3 }: JsonViewProps) => {
2727
const normalizedData =
2828
typeof data === "string"
2929
? tryParseJson(data).success

0 commit comments

Comments
 (0)