chore: replace Link component to use it from NextJS and not from NextUI

This commit is contained in:
Pablo Lara
2024-11-06 11:03:12 +01:00
parent 05e3be418d
commit 73f7167b63
2 changed files with 2 additions and 2 deletions
@@ -34,7 +34,6 @@ export function DataTableRowActions<ProviderProps>({
}: DataTableRowActionsProps<ProviderProps>) {
const [isEditOpen, setIsEditOpen] = useState(false);
const [isDeleteOpen, setIsDeleteOpen] = useState(false);
console.log("row.original:", row.original);
const providerId = (row.original as { id: string }).id;
const providerType = (row.original as any).attributes?.provider;
const providerAlias = (row.original as any).attributes?.alias;
+2 -1
View File
@@ -1,6 +1,7 @@
import { Button, CircularProgress, Link } from "@nextui-org/react";
import { Button, CircularProgress } from "@nextui-org/react";
import type { PressEvent } from "@react-types/shared";
import clsx from "clsx";
import Link from "next/link";
import React from "react";
import { NextUIColors, NextUIVariants } from "@/types";