Skip to content

Commit efa5a20

Browse files
Update packages/node_modules/overmind/src/index.ts
Co-Authored-By: gaspard <[email protected]>
1 parent 4537f78 commit efa5a20

File tree

1 file changed

+1
-1
lines changed
  • packages/node_modules/overmind/src

1 file changed

+1
-1
lines changed

packages/node_modules/overmind/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export class Overmind<Config extends Configuration> implements BaseApp {
186186
}
187187
if (value[IS_PROXY]) {
188188
return scopedTree.scope(value)
189-
} else if (typeof value === 'object') {
189+
} else if (isPlainObject(value)) {
190190
return Object.assign(
191191
{},
192192
...Object.keys(value).map((key) => ({

0 commit comments

Comments
 (0)