We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eb32a1 commit 3e46e75Copy full SHA for 3e46e75
redisinsight/ui/src/utils/formatters/valueFormatters.tsx
@@ -1,4 +1,4 @@
1
-import { encode, decode } from 'msgpackr';
+import { decode, encode } from 'msgpackr'
2
// eslint-disable-next-line import/order
3
import { Buffer } from 'buffer'
4
import { isUndefined } from 'lodash'
@@ -72,7 +72,7 @@ const formattingBuffer = (
72
case KeyValueFormat.JSON: return bufferToJSON(reply, props as FormattingProps)
73
case KeyValueFormat.Msgpack: {
74
try {
75
- const decoded = decode(Uint8Array.from(reply.data));
+ const decoded = decode(Uint8Array.from(reply.data))
76
const value = JSONBigInt.stringify(decoded)
77
return JSONViewer({ value, ...props })
78
} catch (e) {
0 commit comments