🎨 Apply pre-commit fixes (#2055)

This commit is contained in:
GniLudio
2026-01-20 21:48:05 +01:00
committed by GitHub
parent 00e55ccabb
commit e0c80050f1
5 changed files with 12 additions and 8 deletions

View File

@@ -2,9 +2,17 @@ import { FaGithub, FaLinkedinIn } from "react-icons/fa"
import { FaXTwitter } from "react-icons/fa6" import { FaXTwitter } from "react-icons/fa6"
const socialLinks = [ const socialLinks = [
{ icon: FaGithub, href: "https://github.com/fastapi/fastapi", label: "GitHub" }, {
icon: FaGithub,
href: "https://github.com/fastapi/fastapi",
label: "GitHub",
},
{ icon: FaXTwitter, href: "https://x.com/fastapi", label: "X" }, { icon: FaXTwitter, href: "https://x.com/fastapi", label: "X" },
{ icon: FaLinkedinIn, href: "https://linkedin.com/company/fastapi", label: "LinkedIn" }, {
icon: FaLinkedinIn,
href: "https://linkedin.com/company/fastapi",
label: "LinkedIn",
},
] ]
export function Footer() { export function Footer() {

View File

@@ -65,4 +65,3 @@ function LoadingButton({
} }
export { buttonVariants, LoadingButton } export { buttonVariants, LoadingButton }

View File

@@ -67,7 +67,6 @@ function Login() {
loginMutation.mutate(data) loginMutation.mutate(data)
} }
return ( return (
<AuthLayout> <AuthLayout>
<Form {...form}> <Form {...form}>

View File

@@ -236,9 +236,7 @@ test("Appearance button is visible in sidebar", async ({ page }) => {
await expect(page.getByTestId("theme-button")).toBeVisible() await expect(page.getByTestId("theme-button")).toBeVisible()
}) })
test("User can switch between theme modes", async ({ test("User can switch between theme modes", async ({ page }) => {
page,
}) => {
await page.goto("/settings") await page.goto("/settings")
await page.getByTestId("theme-button").click() await page.getByTestId("theme-button").click()