From 751a9253e9a526d5bc5e87c76f484817b8647f93 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Wed, 13 Apr 2022 22:21:09 +0800 Subject: [PATCH] Hush developmental app-string fetch errors for dev-server --- ui/redux/actions/settings.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/redux/actions/settings.js b/ui/redux/actions/settings.js index 579639210..9c62d833d 100644 --- a/ui/redux/actions/settings.js +++ b/ui/redux/actions/settings.js @@ -301,7 +301,8 @@ export function doFetchLanguage(language) { .then((r) => r.json()) .then((j) => { window.app_strings = j; - }); + }) + .catch(() => {}); } // @endif };