From f7489710a1030586d6e38f396d92504b4ca2695a Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 27 Dec 2022 08:52:01 +0800 Subject: [PATCH] Temporary fix for corrupted data --- src/components/compose.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/compose.jsx b/src/components/compose.jsx index 06b277f2..e032fc62 100644 --- a/src/components/compose.jsx +++ b/src/components/compose.jsx @@ -67,8 +67,11 @@ function Compose({ console.log(config); return config; } catch (e) { - alert('Failed to load instance configuration. Please try again.'); console.error(e); + alert('Failed to load instance configuration. Please try again.'); + // Temporary fix for corrupted data + store.local.del('instances'); + location.reload(); return {}; } }, []);