Skip to content

Commit

Permalink
i am stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
amalshaji committed Feb 26, 2024
1 parent 6141e4f commit 26f40e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/src/web/src/pages/home.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<Button
variant="default"
class="w-full"
href={encodeURIComponent(next) === "null"
href={encodeURIComponent(next) !== "null"
? `/api/v1/auth/github?next=${encodeURIComponent(next)}`
: `/api/v1/auth/github`}
>
Expand Down

0 comments on commit 26f40e7

Please sign in to comment.