1
0
Fork 0
mirror of synced 2024-07-29 10:05:55 +12:00

Use routify

This commit is contained in:
Adria Navarro 2023-12-14 16:01:49 +01:00
parent 3a2a2a242c
commit 5f6210e9a0

View file

@ -1,5 +1,7 @@
<script>
import Spinner from "components/common/Spinner.svelte"
import { goto } from "@roxi/routify"
import { API } from "api"
let timeout
@ -14,7 +16,7 @@
const urlParams = new URLSearchParams(window.location.search)
const returnUrl = urlParams.get("returnUrl")
window.location = returnUrl
$goto(returnUrl)
}, 1000)
}