chore: deploy code refactor (#3019)

* chore: deploy code refactor

* fix: next_path redirection

* fix: sanitized pathname

---------

Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
Anmol Singh Bhatia
2023-12-07 18:50:09 +05:30
committed by sriram veeraghanta
parent 8409a84004
commit 557fb2306b
5 changed files with 21 additions and 20 deletions

View File

@@ -174,7 +174,7 @@ const IssueNavbar = observer(() => {
</div>
) : (
<div className="flex-shrink-0">
<Link href={`/login/?next_path=${router.asPath}`}>
<Link href={`/?next_path=${router.asPath}`}>
<Button variant="outline-primary">Sign in</Button>
</Link>
</div>