chore: remove true clause from return expressions

It is already checked at the top of the function.
This commit is contained in:
siiky 2025-06-25 11:37:32 +01:00
parent e103bc2f12
commit 4b723476bc

View file

@ -83,17 +83,12 @@ const SystemPerformance = () => {
if (getLastTimePeriod) {
const duration = rangeEnd - rangeStart
return (
t.error === null &&
createdTimestamp >= rangeStart - duration &&
createdTimestamp < rangeStart
)
}
return (
t.error === null &&
createdTimestamp >= rangeStart &&
createdTimestamp <= rangeEnd
)
return createdTimestamp >= rangeStart && createdTimestamp <= rangeEnd
}
const convertFiatToLocale = item => {