Skip to content

Commit

Permalink
Added floatValue nit
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndsiWilliams committed Dec 2, 2021
1 parent 4904ef1 commit d1d0751
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export default class FilterableTable extends PureComponent<
// Parse any floating numbers so they'll sort correctly
parseFloatingNums = (value: any) => {
const floatValue = parseFloat(value);
return Number.isNaN(floatValue) ? value : parseFloat(value);
return Number.isNaN(floatValue) ? value : floatValue;
};

sortResults(sortBy: string, descending: boolean) {
Expand Down

0 comments on commit d1d0751

Please sign in to comment.