feat: implement user dropdown menu and reusable components for user data management and display
Build and Release / release (push) Successful in 48s
Build and Release / release (push) Successful in 48s
This commit is contained in:
@@ -57,7 +57,7 @@ export default function UserDropdown() {
|
||||
.replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/");
|
||||
});
|
||||
|
||||
window.location.href = "/signin";
|
||||
window.location.href = "/auth/signin";
|
||||
}
|
||||
};
|
||||
|
||||
@@ -181,7 +181,7 @@ export default function UserDropdown() {
|
||||
</ul>
|
||||
<Link
|
||||
onClick={handleLogout}
|
||||
href="/signin"
|
||||
href="/auth/signin"
|
||||
className="flex items-center gap-3 px-3 py-2 mt-3 font-medium text-gray-700 rounded-lg group text-theme-sm hover:bg-gray-100 hover:text-gray-700 dark:text-gray-400 dark:hover:bg-white/5 dark:hover:text-gray-300"
|
||||
>
|
||||
<svg
|
||||
|
||||
Reference in New Issue
Block a user