Fix ecosystem partners table (#4508)

This commit is contained in:
Manan Tank
2024-09-10 09:53:43 -07:00
committed by GitHub
parent 0607d73340
commit c321692e5c
2 changed files with 9 additions and 2 deletions
+7 -1
View File
@@ -5,7 +5,7 @@ module.exports = {
"plugin:import/typescript",
"plugin:@next/next/recommended",
"plugin:promise/recommended",
"plugin:storybook/recommended"
"plugin:storybook/recommended",
],
rules: {
"react-compiler/react-compiler": "error",
@@ -87,6 +87,12 @@ module.exports = {
message:
'Use `import { useDashboardRouter } from "@/lib/DashboardRouter";` instead',
},
{
name: "lucide-react",
importNames: ["Link", "Table"],
message:
'This is likely a mistake. If you really want to import this - postfix the imported name with Icon. Example - "LinkIcon"',
},
],
},
],
@@ -3,6 +3,7 @@ import { CopyButton } from "@/components/ui/CopyButton";
import { Button } from "@/components/ui/button";
import { Skeleton } from "@/components/ui/skeleton";
import {
Table,
TableBody,
TableCell,
TableContainer,
@@ -12,7 +13,7 @@ import {
} from "@/components/ui/table";
import { ToolTipLabel } from "@/components/ui/tooltip";
import { cn } from "@/lib/utils";
import { Pencil, Table, Trash2 } from "lucide-react";
import { Pencil, Trash2 } from "lucide-react";
import Link from "next/link";
import { toast } from "sonner";
import type { Ecosystem, Partner } from "../../../../types";