From 19f0881a80ff93d605ec4deb04c8e124835b2a4b Mon Sep 17 00:00:00 2001 From: Benjamin Bolte Date: Sun, 10 Nov 2024 03:55:10 -0800 Subject: [PATCH] lint --- frontend/src/components/auth/AuthBlock.tsx | 2 +- frontend/src/components/auth/RequireAuthentication.tsx | 2 +- frontend/src/components/listing/FileUpload.tsx | 2 +- frontend/src/components/nav/Navbar.tsx | 10 ++++------ 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/auth/AuthBlock.tsx b/frontend/src/components/auth/AuthBlock.tsx index 9d9e8c87..9ecac6e5 100644 --- a/frontend/src/components/auth/AuthBlock.tsx +++ b/frontend/src/components/auth/AuthBlock.tsx @@ -23,7 +23,7 @@ interface AuthBlockProps { const AuthBlock: React.FC = ({ title, onClosed, signup }) => { return ( - +
diff --git a/frontend/src/components/auth/RequireAuthentication.tsx b/frontend/src/components/auth/RequireAuthentication.tsx index 05c5129a..0f01ab1d 100644 --- a/frontend/src/components/auth/RequireAuthentication.tsx +++ b/frontend/src/components/auth/RequireAuthentication.tsx @@ -27,7 +27,7 @@ const RequireAuthentication = (props: Props) => { <>
-
+
diff --git a/frontend/src/components/listing/FileUpload.tsx b/frontend/src/components/listing/FileUpload.tsx index 051c720f..faa33190 100644 --- a/frontend/src/components/listing/FileUpload.tsx +++ b/frontend/src/components/listing/FileUpload.tsx @@ -339,7 +339,7 @@ export const FileSubmitButton = forwardRef< ref={ref} type="button" className={cn( - buttonVariants({ variant: "primary" }), + buttonVariants({ variant: "default" }), "w-full", className, )} diff --git a/frontend/src/components/nav/Navbar.tsx b/frontend/src/components/nav/Navbar.tsx index e06c3e49..9d8a45c6 100644 --- a/frontend/src/components/nav/Navbar.tsx +++ b/frontend/src/components/nav/Navbar.tsx @@ -30,16 +30,14 @@ const Navbar = () => { return ( <> -