From 0fa609f4e34c7a22ea512952c64b30383b8dc606 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sat, 16 Apr 2022 11:33:04 +0200 Subject: [PATCH] :children_crossing: Fixed #31 --- frontend/src/routes/account/register.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/routes/account/register.svelte b/frontend/src/routes/account/register.svelte index 8105e16..a4fd421 100644 --- a/frontend/src/routes/account/register.svelte +++ b/frontend/src/routes/account/register.svelte @@ -352,6 +352,7 @@ type="button" on:click={() => { responseData.open = false; + window.location.replace("/"); }} class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm" >{$t('words.close')}