Skip to content

Commit a3eb706

Browse files
committed
Remove unnecessay fallback prop
1 parent a748971 commit a3eb706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/ui/src/components/json-viewer/JSONViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ interface Props {
99
expanded?: boolean
1010
space?: number
1111
useNativeBigInt?: boolean
12-
fallbackToNonBigInt?: boolean
1312
}
1413

1514
const JSONViewer = (props: Props) => {
1615
const { value, expanded = false, space = 2, useNativeBigInt = true } = props
1716

1817
try {
1918
const data = JSONBigInt({ useNativeBigInt }).parse(value)
19+
2020
return {
2121
value: (
2222
<div className={cx('jsonViewer', { 'jsonViewer-collapsed': !expanded })} data-testid="value-as-json">

0 commit comments

Comments
 (0)