From b6952433e7604ed37236fe45c2128e99a00c01ff Mon Sep 17 00:00:00 2001 From: Yashvardhan Jagnani Date: Thu, 9 May 2024 16:07:44 +0530 Subject: [PATCH] !fix: lint --- eslint.config.js | 2 +- .../TokenTransfersListView/TokenTransfersListView.tsx | 4 ++-- src/components/Shared/TableList.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 834b6aee..05c7d35d 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -16,7 +16,7 @@ export default [ "react/no-children-prop": "off", "no-unsafe-optional-chaining": "warn", "@typescript-eslint/no-var-requires": "off", - "@typescript-eslint/no-unused-vars": "error", + "@typescript-eslint/no-unused-vars": "warn", "@typescript-eslint/ban-types": [ "error", { diff --git a/src/components/Organisms/TokenTransfersListView/TokenTransfersListView.tsx b/src/components/Organisms/TokenTransfersListView/TokenTransfersListView.tsx index 0174425d..ce3a6562 100644 --- a/src/components/Organisms/TokenTransfersListView/TokenTransfersListView.tsx +++ b/src/components/Organisms/TokenTransfersListView/TokenTransfersListView.tsx @@ -5,7 +5,7 @@ import { calculatePrettyBalance, prettifyCurrency, } from "@covalenthq/client-sdk"; -import { TIME_SERIES_GROUP } from "@/utils/constants/shared.constants"; +import { type TIME_SERIES_GROUP } from "@/utils/constants/shared.constants"; import { Fragment, useCallback, useEffect, useState } from "react"; import { type ColumnDef } from "@tanstack/react-table"; import { TableCell, TableRow } from "@/components/ui/table"; @@ -191,7 +191,7 @@ export const TokenTransfersListView: React.FC = ({
diff --git a/src/components/Shared/TableList.tsx b/src/components/Shared/TableList.tsx index 4499ab0f..701b44f3 100644 --- a/src/components/Shared/TableList.tsx +++ b/src/components/Shared/TableList.tsx @@ -13,7 +13,7 @@ import { getCoreRowModel, getSortedRowModel, flexRender, - Row, + type Row, } from "@tanstack/react-table"; import { useCallback, useState } from "react"; import { SkeletonTable } from "./SkeletonTable";