Upgrade linter and formatter to Ultracite (#1224)
This commit is contained in:
parent
b1d254283b
commit
0e320b391d
177 changed files with 6951 additions and 8342 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue