Fix logout bug with viewtransitions
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m24s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m24s
This commit is contained in:
@@ -187,7 +187,7 @@ function isActive(item: { href: string; exact?: boolean }) {
|
||||
</div>
|
||||
|
||||
<div class="px-3 pb-3">
|
||||
<form action="/api/auth/logout" method="POST">
|
||||
<form action="/api/auth/logout" method="POST" data-astro-reload>
|
||||
<button type="submit" class="btn btn-ghost btn-sm btn-block justify-start gap-2 text-base-content/60 hover:text-error hover:bg-error/10 font-medium">
|
||||
<Icon name="arrow-right-on-rectangle" class="w-[18px] h-[18px]" />
|
||||
Logout
|
||||
|
||||
Reference in New Issue
Block a user