From ecd0e86dc6672822031f14f2c9fb750ef70d43f8 Mon Sep 17 00:00:00 2001 From: CEC Date: Tue, 19 Apr 2022 10:56:23 +0200 Subject: [PATCH] Fix prettier issue --- front/src/Components/UI/ErrorScreen.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/Components/UI/ErrorScreen.svelte b/front/src/Components/UI/ErrorScreen.svelte index b6eed03a..c03f035a 100644 --- a/front/src/Components/UI/ErrorScreen.svelte +++ b/front/src/Components/UI/ErrorScreen.svelte @@ -3,7 +3,7 @@ import { errorScreenStore } from "../../Stores/ErrorScreenStore"; import { gameManager } from "../../Phaser/Game/GameManager"; import { get } from "svelte/store"; - import {onDestroy} from "svelte"; + import { onDestroy } from "svelte"; import logoImg from "../images/logo-min-white.png"; let logo = gameManager?.currentStartedRoom?.loginSceneLogo ?? logoImg; @@ -16,7 +16,7 @@ const image = errorScreen.image ?? (errorScreen.type === "retry" ? cup : error); - function click() { + 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();