Change JsonView default initialExpandDepth from 2 to 3
This commit is contained in:
@@ -23,7 +23,7 @@ function tryParseJson(str: string): { success: boolean; data: JsonValue } {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const JsonView = memo(
|
const JsonView = memo(
|
||||||
({ data, name, initialExpandDepth = 2 }: JsonViewProps) => {
|
({ data, name, initialExpandDepth = 3 }: JsonViewProps) => {
|
||||||
const normalizedData =
|
const normalizedData =
|
||||||
typeof data === "string"
|
typeof data === "string"
|
||||||
? tryParseJson(data).success
|
? tryParseJson(data).success
|
||||||
|
|||||||
Reference in New Issue
Block a user