fix: return redirect

This commit is contained in:
kolaente 2023-04-01 14:18:38 +02:00
parent b9f0635d9f
commit 7c964c29d4
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 3 deletions

View File

@ -94,14 +94,13 @@ function useAuth() {
const last = getLastVisitedRoute()
if (last) {
router.push({
return router.push({
...last,
hash,
})
return
}
router.push({
return router.push({
name: `project.${view}`,
params: {projectId},
hash,