Skip to content

Commit e0c8005

Browse files
authored
🎨 Apply pre-commit fixes (#2055)
1 parent 00e55cc commit e0c8005

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

frontend/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ openapi.json
2727
/playwright-report/
2828
/blob-report/
2929
/playwright/.cache/
30-
/playwright/.auth/
30+
/playwright/.auth/

frontend/src/components/Common/Footer.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@ import { FaGithub, FaLinkedinIn } from "react-icons/fa"
22
import { FaXTwitter } from "react-icons/fa6"
33

44
const socialLinks = [
5-
{ icon: FaGithub, href: "https://github.com/fastapi/fastapi", label: "GitHub" },
5+
{
6+
icon: FaGithub,
7+
href: "https://github.com/fastapi/fastapi",
8+
label: "GitHub",
9+
},
610
{ icon: FaXTwitter, href: "https://x.com/fastapi", label: "X" },
7-
{ icon: FaLinkedinIn, href: "https://linkedin.com/company/fastapi", label: "LinkedIn" },
11+
{
12+
icon: FaLinkedinIn,
13+
href: "https://linkedin.com/company/fastapi",
14+
label: "LinkedIn",
15+
},
816
]
917

1018
export function Footer() {

frontend/src/components/ui/loading-button.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,3 @@ function LoadingButton({
6565
}
6666

6767
export { buttonVariants, LoadingButton }
68-

frontend/src/routes/login.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ function Login() {
6767
loginMutation.mutate(data)
6868
}
6969

70-
7170
return (
7271
<AuthLayout>
7372
<Form {...form}>

frontend/tests/user-settings.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,7 @@ test("Appearance button is visible in sidebar", async ({ page }) => {
236236
await expect(page.getByTestId("theme-button")).toBeVisible()
237237
})
238238

239-
test("User can switch between theme modes", async ({
240-
page,
241-
}) => {
239+
test("User can switch between theme modes", async ({ page }) => {
242240
await page.goto("/settings")
243241

244242
await page.getByTestId("theme-button").click()

0 commit comments

Comments
 (0)