mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 18:09:40 +05:00
feat: add login redirect to the page which initiated auth
This commit is contained in:
parent
d28011b4fb
commit
3378d5b99e
7 changed files with 12 additions and 14 deletions
|
@ -194,7 +194,7 @@ export const Navbar = () => {
|
|||
>
|
||||
<Dropdown.Item className="text-sm md:text-base">
|
||||
<Link
|
||||
href="/login"
|
||||
href={pathname != "/login" ? `/login?redirect=${pathname}` : "#"}
|
||||
className="flex items-center gap-1"
|
||||
>
|
||||
<span
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue