Change JsonView default initialExpandDepth from 2 to 3
This commit is contained in:
parent
2588f3aeb3
commit
03c1ba3092
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ function tryParseJson(str: string): { success: boolean; data: JsonValue } {
|
|||
}
|
||||
|
||||
const JsonView = memo(
|
||||
({ data, name, initialExpandDepth = 2 }: JsonViewProps) => {
|
||||
({ data, name, initialExpandDepth = 3 }: JsonViewProps) => {
|
||||
const normalizedData =
|
||||
typeof data === "string"
|
||||
? tryParseJson(data).success
|
||||
|
|
|
|||
Loading…
Reference in a new issue