diff --git a/components/UI/table/table.tsx b/components/UI/table/table.tsx index f86eb826..85ca7bbb 100644 --- a/components/UI/table/table.tsx +++ b/components/UI/table/table.tsx @@ -55,7 +55,7 @@ const TableRow = React.forwardRef< @@ -69,7 +69,7 @@ const TableHead = React.forwardRef< [role=checkbox]]:translate-y-[2px] flex items-center" + "h-10 px-2 text-left align-middle modified-cursor-normal font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] flex items-center" } {...props} /> diff --git a/components/discover/defiTable.tsx b/components/discover/defiTable.tsx index 9dccde53..071cbd94 100644 --- a/components/discover/defiTable.tsx +++ b/components/discover/defiTable.tsx @@ -155,7 +155,7 @@ export const columns: ColumnDef[] = [ { accessorKey: "apr", header: () => ( -
+
APR @@ -165,7 +165,7 @@ export const columns: ColumnDef[] = [
-
+ ), cell: ({ row }) => { const amount = parseFloat(row.getValue("apr")).toFixed(2); @@ -175,7 +175,7 @@ export const columns: ColumnDef[] = [ { accessorKey: "volume", header: () => ( -
+
TVL @@ -208,8 +208,7 @@ export const columns: ColumnDef[] = [ { accessorKey: "daily_rewards", header: () => ( -
- +
Daily Rewards @@ -432,9 +431,7 @@ const DataTable: FunctionComponent = ({ data, loading }) => { onClick={() => table.getCanPreviousPage() ? table.previousPage() : null } - style={{ - cursor: table.getCanPreviousPage() ? "inherit" : "not-allowed", - }} + style= {table.getCanPreviousPage() ? {} : {cursor:'not-allowed' } } > = ({ data, loading }) => {
(table.getCanNextPage() ? table.nextPage() : null)} - style={{ - cursor: table.getCanNextPage() ? "inherit" : "not-allowed", - }} + style= {table.getCanNextPage() ? {} : {cursor:'not-allowed' } } >