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.
2 parents fd3022a + 33637d0 commit 27f7c16Copy full SHA for 27f7c16
packages/node_modules/overmind/src/Devtools.ts
@@ -16,7 +16,13 @@ export function safeValue(value) {
16
return `[${value.constructor.name || 'NOT SERIALIZABLE'}]`
17
}
18
19
- return value
+ return isPlainObject(value)
20
+ ? Object.keys(value).reduce((aggr, key) => {
21
+ aggr[key] = safeValue(value[key])
22
+
23
+ return aggr
24
+ }, value)
25
+ : value
26
27
28
export function safeValues(values) {
0 commit comments