feat: the logOut button is working nicely now

This commit is contained in:
Pablo Lara committed 2024-08-28 12:24:32 +02:00
1 parent b5a40d07cf
commit c0a20b0f5d
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -98,6 +98,7 @@ export const AuthForm = ({ type }: { type: string }) => {
<Form {...form}>
<form
className="flex flex-col gap-3"
// Fix TS types.
onSubmit={form.handleSubmit(onSubmit)}
>
{type === "sign-up" && (
+1 -1
View File
@@ -134,7 +134,7 @@ export const SidebarWrap = () => {
<Tooltip content="Log Out" isDisabled={!isCompact} placement="right">
<Button
aria-label="Log Out"
onClick={() => logOut}
onClick={() => logOut()}
className={clsx(
"justify-start text-default-500 data-[hover=true]:text-foreground",
{