mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-30 23:34:27 +00:00
feat: the logOut button is working nicely now
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -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" && (
|
||||
|
||||
@@ -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",
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user