Skip to content

Commit

Permalink
correct routing in logout, remove unused routes
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHaWo committed Sep 27, 2024
1 parent cdffbce commit 5b0394f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 162 deletions.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/UserProfile.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{#if userData !== null}
<div class="mx-auto flex flex-col items-center justify-center">
<p class="m-2 w-full rounded-lg border p-2 text-lg font-semibold">{userData.name}</p>
<Button href={base} on:click={logout} size="lg">Logout</Button>
<Button href={`${base}/`} on:click={logout} size="lg">Logout</Button>
</div>
{:else}
<div class="mx-auto mb-6 flex flex-col items-center justify-center space-y-6">
Expand Down
34 changes: 0 additions & 34 deletions frontend/src/routes/surveyfeedback/+page.svelte

This file was deleted.

Empty file.
127 changes: 0 additions & 127 deletions frontend/src/routes/userLand/userDataInput/+page.svelte

This file was deleted.

0 comments on commit 5b0394f

Please sign in to comment.