Revert "Upgrade linter and formatter to Ultracite" (#1226)

This commit is contained in:
josh 2025-09-21 12:03:29 +01:00 committed by GitHub
parent 0e320b391d
commit 1aff7d9868
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
177 changed files with 8334 additions and 6943 deletions

View file

@ -1,12 +1,12 @@
import Form from "next/form";
import Form from 'next/form';
import { Input } from "./ui/input";
import { Label } from "./ui/label";
import { Input } from './ui/input';
import { Label } from './ui/label';
export function AuthForm({
action,
children,
defaultEmail = "",
defaultEmail = '',
}: {
action: NonNullable<
string | ((formData: FormData) => void | Promise<void>) | undefined
@ -18,39 +18,39 @@ export function AuthForm({
<Form action={action} className="flex flex-col gap-4 px-4 sm:px-16">
<div className="flex flex-col gap-2">
<Label
className="font-normal text-zinc-600 dark:text-zinc-400"
htmlFor="email"
className="font-normal text-zinc-600 dark:text-zinc-400"
>
Email Address
</Label>
<Input
autoComplete="email"
autoFocus
className="bg-muted text-md md:text-sm"
defaultValue={defaultEmail}
id="email"
name="email"
placeholder="user@acme.com"
required
className="bg-muted text-md md:text-sm"
type="email"
placeholder="user@acme.com"
autoComplete="email"
required
autoFocus
defaultValue={defaultEmail}
/>
</div>
<div className="flex flex-col gap-2">
<Label
className="font-normal text-zinc-600 dark:text-zinc-400"
htmlFor="password"
className="font-normal text-zinc-600 dark:text-zinc-400"
>
Password
</Label>
<Input
className="bg-muted text-md md:text-sm"
id="password"
name="password"
required
className="bg-muted text-md md:text-sm"
type="password"
required
/>
</div>