Restore Ultracite + fix sidebar (#1233)

This commit is contained in:
Hayden Bleasel 2025-09-21 11:02:31 -07:00 committed by GitHub
parent 8fbfc253fa
commit 947ed094a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
177 changed files with 6908 additions and 8306 deletions

View file

@ -1,22 +1,22 @@
import Form from 'next/form';
import Form from "next/form";
import { signOut } from '@/app/(auth)/auth';
import { signOut } from "@/app/(auth)/auth";
export const SignOutForm = () => {
return (
<Form
className="w-full"
action={async () => {
'use server';
"use server";
await signOut({
redirectTo: '/',
redirectTo: "/",
});
}}
className="w-full"
>
<button
type="submit"
className="w-full px-1 py-0.5 text-left text-red-500"
type="submit"
>
Sign out
</button>