🎨 Apply pre-commit fixes (#2055)
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
@@ -65,4 +65,3 @@ function LoadingButton({
|
|||||||
}
|
}
|
||||||
|
|
||||||
export { buttonVariants, LoadingButton }
|
export { buttonVariants, LoadingButton }
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ function Login() {
|
|||||||
loginMutation.mutate(data)
|
loginMutation.mutate(data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AuthLayout>
|
<AuthLayout>
|
||||||
<Form {...form}>
|
<Form {...form}>
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user