Skip to content

Commit

Permalink
assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveDarsa committed Jun 30, 2024
1 parent 9913aee commit a9a1aa9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ const PaginatedTable: FC<Props> = ({
const key = numericSortOptions.key;
if (key) {
if (Array.isArray(a[key])) {
first = a[key].length as number;
second = b[key].length as number;
first = a[key].length as unknown as number;
second = b[key].length as unknown as number;
} else {
first = a[key] as unknown as number;
second = b[key] as unknown as number;
Expand Down

0 comments on commit a9a1aa9

Please sign in to comment.