From 074f43d16c93a5995a686b253543f59fb8bbb80a Mon Sep 17 00:00:00 2001 From: CEC Date: Tue, 12 Apr 2022 11:17:43 +0200 Subject: [PATCH] Fix Svelte depreciation reload --- front/src/Components/UI/ErrorScreen.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/Components/UI/ErrorScreen.svelte b/front/src/Components/UI/ErrorScreen.svelte index 276484b1..5e079a10 100644 --- a/front/src/Components/UI/ErrorScreen.svelte +++ b/front/src/Components/UI/ErrorScreen.svelte @@ -14,7 +14,7 @@ function click(){ if(errorScreen.urlToRedirect) window.location.replace(errorScreen.urlToRedirect); else if(errorScreen.type === 'redirect' && window.history.length > 2) history.back(); - else window.location.reload(true); + else window.location.reload(); } let details = errorScreen.details; let timeVar = errorScreen.timeToRetry ?? 0;