Skip to content

Conversation

@rafaelugolini
Copy link
Contributor

No description provided.

@rafaelugolini rafaelugolini marked this pull request as ready for review October 16, 2023 19:48
// get last APY to compare with current one
let lastApy =
apies.slice(apies.length - 2).find((apy) => apy.id < dateId) ??
apies.find((apy) => apy.id < dateId) ??
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure we want this change? If we have anything in the apies array it will definitely be recent and we wouldn't care about anything in there less than 2 instances past.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i might be wrong

Copy link
Collaborator

@apexearth apexearth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved, left one comment - not a big deal on the comment

@apexearth apexearth merged commit 0f60af4 into main Oct 16, 2023
@nick nick deleted the fix/apy branch October 30, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants