From 6f643fcafa0c7650f198ea4e7d7e096909924a8c Mon Sep 17 00:00:00 2001 From: Ganesh Swami Date: Thu, 16 Nov 2023 21:51:15 -0800 Subject: [PATCH] fix lint --- .eslintrc.json | 2 +- .../AddressActivityListView.tsx | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 6b1918c0..dfd8a924 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -9,7 +9,7 @@ "react/no-children-prop": "off", "no-unsafe-optional-chaining": "warn", "@typescript-eslint/no-var-requires": "off", - "@typescript-eslint/no-unused-vars": "warn", + "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/ban-types": [ "error", { diff --git a/src/components/Organisms/TokenBalances/AddressActivityListView/AddressActivityListView.tsx b/src/components/Organisms/TokenBalances/AddressActivityListView/AddressActivityListView.tsx index 8ceb33cc..ca0b26e0 100644 --- a/src/components/Organisms/TokenBalances/AddressActivityListView/AddressActivityListView.tsx +++ b/src/components/Organisms/TokenBalances/AddressActivityListView/AddressActivityListView.tsx @@ -1,7 +1,6 @@ import { type Option, None, Some } from "@/utils/option"; import { type ChainActivityEvent, - CovalentClient, } from "@covalenthq/client-sdk"; import { type ColumnDef, @@ -11,7 +10,7 @@ import { getSortedRowModel, useReactTable, } from "@tanstack/react-table"; -import { useContext, useEffect, useState } from "react"; +import { useEffect, useState } from "react"; import { Table, TableBody, @@ -304,10 +303,10 @@ export const AddressActivityListView: React.FC< {header.isPlaceholder ? null : flexRender( - header.column.columnDef - .header, - header.getContext() - )} + header.column.columnDef + .header, + header.getContext() + )} ); })}