change(player): use shallow object spread instead of recursive tojs

This commit is contained in:
nick-delirium 2023-03-06 12:40:45 +01:00 committed by Shekar Siri
parent fe1668ec01
commit 928695ed2d

View file

@ -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 => {