From d970572c3f4cc0dca243792665b62af3f31b88e9 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Thu, 24 Jun 2021 21:45:13 +1000 Subject: [PATCH] Update upgrade.js --- src/upgrade.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/upgrade.js b/src/upgrade.js index f88b107..eb3f554 100644 --- a/src/upgrade.js +++ b/src/upgrade.js @@ -634,6 +634,7 @@ export const versions = { .modify((state) => { for (let id in state.tokens) { if (!state.tokens[id]?.tokenId) { + delete state.tokens[id]; continue; } if (!state.tokens[id].tokenId.startsWith("__default")) {