From aca1cb1986540b9c7e206ce1aefedb1b1bec5c26 Mon Sep 17 00:00:00 2001 From: arielherself Date: Sat, 30 Dec 2023 11:34:19 +0800 Subject: [PATCH 1/2] feat: automatically reload when connection fails --- src/UMap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UMap.js b/src/UMap.js index 59eceb7..a3377cc 100644 --- a/src/UMap.js +++ b/src/UMap.js @@ -128,7 +128,7 @@ function MapClickHandler({mks,focusUpdater,locator,locker}) { locker(true); }).catch((e) => { console.error(e); - // location.reload(); + location.reload(); }); }, // TODO From 7f045fd11bfa1f937cb80327fd0941f0104cb6bc Mon Sep 17 00:00:00 2001 From: arielherself Date: Sat, 30 Dec 2023 11:34:37 +0800 Subject: [PATCH 2/2] chore: bump version --- PublicProperty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PublicProperty.js b/PublicProperty.js index 5714fd2..8aa8f6a 100644 --- a/PublicProperty.js +++ b/PublicProperty.js @@ -1,7 +1,7 @@ // no dependencies export const __DEBUG__ = 0; -export const __APP_VERSION__ = 'v0.3.1-beta'; +export const __APP_VERSION__ = 'v0.3.2-beta'; export const __APP_INTRO__ = ` Algorithm improvement.