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) {
|
||||
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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue