diff --git a/apps/web/components/Shell.tsx b/apps/web/components/Shell.tsx index d6e2b517ee..be6f88816b 100644 --- a/apps/web/components/Shell.tsx +++ b/apps/web/components/Shell.tsx @@ -570,7 +570,7 @@ function UserDropdown({ small }: { small?: boolean }) { { - mutation.mutate({ away: user?.away }); + mutation.mutate({ away: !user?.away }); utils.invalidateQueries("viewer.me"); }} className="flex min-w-max cursor-pointer px-4 py-2 text-sm hover:bg-gray-100 hover:text-gray-900">