chore: remove true clause from return expressions
It is already checked at the top of the function.
This commit is contained in:
parent
e103bc2f12
commit
4b723476bc
1 changed files with 1 additions and 6 deletions
|
|
@ -83,17 +83,12 @@ const SystemPerformance = () => {
|
||||||
if (getLastTimePeriod) {
|
if (getLastTimePeriod) {
|
||||||
const duration = rangeEnd - rangeStart
|
const duration = rangeEnd - rangeStart
|
||||||
return (
|
return (
|
||||||
t.error === null &&
|
|
||||||
createdTimestamp >= rangeStart - duration &&
|
createdTimestamp >= rangeStart - duration &&
|
||||||
createdTimestamp < rangeStart
|
createdTimestamp < rangeStart
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return createdTimestamp >= rangeStart && createdTimestamp <= rangeEnd
|
||||||
t.error === null &&
|
|
||||||
createdTimestamp >= rangeStart &&
|
|
||||||
createdTimestamp <= rangeEnd
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const convertFiatToLocale = item => {
|
const convertFiatToLocale = item => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue