change(player): use shallow object spread instead of recursive tojs
This commit is contained in:
parent
fe1668ec01
commit
928695ed2d
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ function Storage(props: Props) {
|
|||
|
||||
const decodeMessage = (msg: any) => {
|
||||
const decoded = {};
|
||||
const pureMSG = toJS(msg)
|
||||
const pureMSG = { ...msg }
|
||||
const keys = storageDecodeKeys[type];
|
||||
try {
|
||||
keys.forEach(key => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue