Skip to content

Commit 16b3236

Browse files
authored
Merge branch 'master' into mod/tor/modalError_24.2
2 parents 68b26a1 + c9fbcf2 commit 16b3236

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/react-sdk-components/src/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,9 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
383383
};
384384

385385
function descendingComparator<T>(a: T, b: T, orderedBy: keyof T) {
386+
if (!orderedBy || (!a[orderedBy] && !b[orderedBy])) {
387+
return 0;
388+
}
386389
if (!b[orderedBy] || b[orderedBy] < a[orderedBy]) {
387390
return -1;
388391
}

0 commit comments

Comments
 (0)