Skip to content
Snippets Groups Projects
Commit 15f57142 authored by Lukas's avatar Lukas
Browse files

Fix build error

parent d211e36e
No related branches found
No related tags found
1 merge request!585Lbudginas/#318 add hp incoming delegation account page
Pipeline #117515 canceled
...@@ -118,7 +118,7 @@ const AccountVestingDelegationsCard: React.FC< ...@@ -118,7 +118,7 @@ const AccountVestingDelegationsCard: React.FC<
<Table> <Table>
<TableHeader> <TableHeader>
<TableRow> <TableRow>
{buildTableHead(direction, sortBy, key, isAscending)} {buildTableHead(sortBy, key, isAscending, direction)}
</TableRow> </TableRow>
</TableHeader> </TableHeader>
<TableBody>{buildTableBody(direction, sortedDelegations)}</TableBody> <TableBody>{buildTableBody(direction, sortedDelegations)}</TableBody>
......
...@@ -85,10 +85,10 @@ const renderChevron = ( ...@@ -85,10 +85,10 @@ const renderChevron = (
}; };
export const buildTableHead = ( export const buildTableHead = (
direction: "incoming" | "outgoing",
handleSort: (key: string) => void, handleSort: (key: string) => void,
sortKey: string, sortKey: string,
isOrderAscending: boolean isOrderAscending: boolean,
direction?: "incoming" | "outgoing"
) => { ) => {
const tableHeaderCells = const tableHeaderCells =
direction === "outgoing" direction === "outgoing"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment