Use routify
This commit is contained in:
parent
3a2a2a242c
commit
5f6210e9a0
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue