diff --git a/src/components/ChainTable.tsx b/src/components/ChainTable.tsx index 41af2ed..ca45ecb 100644 --- a/src/components/ChainTable.tsx +++ b/src/components/ChainTable.tsx @@ -59,7 +59,7 @@ export const ChainTable = ({ chains }: TableProps) => { {chains?.map((data, index) => { return ( - handleChainNavigation(data.chainId)} onKeyDown={(event) => { @@ -96,7 +96,7 @@ export const ChainTable = ({ chains }: TableProps) => { {formatDataNumber(data.tvl, 0, true)} {data.chainType} - + ); })} @@ -150,7 +150,17 @@ export const STableRow = styled(TableRow)(() => { }; }); -export const STableBodyRow = styled(TableRow)(({ theme }) => { +export const STableBodyRow = styled(TableRow)(() => { + const { currentTheme } = useCustomTheme(); + return { + '&:not(:last-child)': { + border: currentTheme.border, + }, + transition: currentTheme.transition, + }; +}); + +export const STableBodyRowLink = styled(TableRow)(({ theme }) => { const { currentTheme } = useCustomTheme(); return { cursor: 'pointer',