From ece97540b9621e063c8daab6913ced760e0f04ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tron=C3=AD=C4=8Dek?= Date: Sun, 29 Oct 2023 15:32:44 +0000 Subject: [PATCH] Pass correct props through LinkButtons --- .../dashboard/src/components/podkit/buttons/LinkButton.tsx | 4 ++-- components/dashboard/src/projects/Projects.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/dashboard/src/components/podkit/buttons/LinkButton.tsx b/components/dashboard/src/components/podkit/buttons/LinkButton.tsx index 4ba235b9095e28..66de7d36a3d39f 100644 --- a/components/dashboard/src/components/podkit/buttons/LinkButton.tsx +++ b/components/dashboard/src/components/podkit/buttons/LinkButton.tsx @@ -17,9 +17,9 @@ export interface LinkButtonProps extends ButtonProps { * A HTML anchor element styled as a button. */ export const LinkButton = React.forwardRef( - ({ className, variant, size, asChild, children, href, ...props }, ref) => { + ({ asChild, children, href, ...props }, ref) => { return ( - ); diff --git a/components/dashboard/src/projects/Projects.tsx b/components/dashboard/src/projects/Projects.tsx index d80c01b3d5fa8e..258a1ea9364f40 100644 --- a/components/dashboard/src/projects/Projects.tsx +++ b/components/dashboard/src/projects/Projects.tsx @@ -111,7 +111,7 @@ export default function ProjectsPage() { )} {(data?.projects || []).length > 0 && (
-
+
{team && ( - + Invite Members )}