🎨 Apply pre-commit fixes (#2055)
This commit is contained in:
2
frontend/.gitignore
vendored
2
frontend/.gitignore
vendored
@@ -27,4 +27,4 @@ openapi.json
|
||||
/playwright-report/
|
||||
/blob-report/
|
||||
/playwright/.cache/
|
||||
/playwright/.auth/
|
||||
/playwright/.auth/
|
||||
|
||||
@@ -2,9 +2,17 @@ import { FaGithub, FaLinkedinIn } from "react-icons/fa"
|
||||
import { FaXTwitter } from "react-icons/fa6"
|
||||
|
||||
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: FaLinkedinIn, href: "https://linkedin.com/company/fastapi", label: "LinkedIn" },
|
||||
{
|
||||
icon: FaLinkedinIn,
|
||||
href: "https://linkedin.com/company/fastapi",
|
||||
label: "LinkedIn",
|
||||
},
|
||||
]
|
||||
|
||||
export function Footer() {
|
||||
|
||||
@@ -65,4 +65,3 @@ function LoadingButton({
|
||||
}
|
||||
|
||||
export { buttonVariants, LoadingButton }
|
||||
|
||||
|
||||
@@ -67,7 +67,6 @@ function Login() {
|
||||
loginMutation.mutate(data)
|
||||
}
|
||||
|
||||
|
||||
return (
|
||||
<AuthLayout>
|
||||
<Form {...form}>
|
||||
|
||||
@@ -236,9 +236,7 @@ test("Appearance button is visible in sidebar", async ({ page }) => {
|
||||
await expect(page.getByTestId("theme-button")).toBeVisible()
|
||||
})
|
||||
|
||||
test("User can switch between theme modes", async ({
|
||||
page,
|
||||
}) => {
|
||||
test("User can switch between theme modes", async ({ page }) => {
|
||||
await page.goto("/settings")
|
||||
|
||||
await page.getByTestId("theme-button").click()
|
||||
|
||||
Reference in New Issue
Block a user