Remove redundant type conversion

This commit is contained in:
c-bata
2023-01-07 03:14:29 +09:00
parent 7d1bab030e
commit e15317ee3e
@@ -160,7 +160,7 @@ export const TrialTable: FC<{
if (firstVal === secondVal) {
return 0
} else if (firstVal && secondVal) {
return Number(firstVal) < Number(secondVal) ? 1 : -1
return firstVal < secondVal ? 1 : -1
} else if (firstVal) {
return -1
} else {