diff --git a/app/(prowler)/providers/page.tsx b/app/(prowler)/providers/page.tsx
index f80b59241e..177b403745 100644
--- a/app/(prowler)/providers/page.tsx
+++ b/app/(prowler)/providers/page.tsx
@@ -1,5 +1,4 @@
import { Spacer } from "@nextui-org/react";
-import Link from "next/link";
import { Suspense } from "react";
import { getProviders } from "@/actions/providers";
@@ -27,7 +26,6 @@ export default async function Providers({
- add provider
diff --git a/components/providers/add-provider.tsx b/components/providers/add-provider.tsx
index 01e85db980..c732d41007 100644
--- a/components/providers/add-provider.tsx
+++ b/components/providers/add-provider.tsx
@@ -7,6 +7,7 @@ export const AddProvider = () => {
return (
;
+ asLink?: string;
}
export const CustomButton = React.forwardRef<
@@ -73,11 +74,14 @@ export const CustomButton = React.forwardRef<
isDisabled = false,
isLoading = false,
isIconOnly,
+ asLink,
...props
},
ref,
) => (
{title}
diff --git a/components/ui/sidebar/sidebar-wrap.tsx b/components/ui/sidebar/sidebar-wrap.tsx
index 19a1de94bc..36717e4e3b 100644
--- a/components/ui/sidebar/sidebar-wrap.tsx
+++ b/components/ui/sidebar/sidebar-wrap.tsx
@@ -91,19 +91,17 @@ export const SidebarWrap = () => {
"w-full": !isCompact,
})}
>
- {/* TODO: Create a custom-link component and use it here */}
-
-
}
- >
- Launch Scan
-
-
+
}
+ >
+ Launch Scan
+