From 928695ed2d10e36a58cb67af89b8e898522a4cbc Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Mon, 6 Mar 2023 12:40:45 +0100 Subject: [PATCH] change(player): use shallow object spread instead of recursive tojs --- frontend/app/components/Session_/Storage/Storage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Session_/Storage/Storage.tsx b/frontend/app/components/Session_/Storage/Storage.tsx index 587d5bc31..25842840f 100644 --- a/frontend/app/components/Session_/Storage/Storage.tsx +++ b/frontend/app/components/Session_/Storage/Storage.tsx @@ -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 => {