Skip to content

Commit

Permalink
fix: farm stats err
Browse files Browse the repository at this point in the history
  • Loading branch information
Crypto-One-dev committed Jul 26, 2023
1 parent 442e05e commit d37148c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/pollers.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const getTokenStats = async () => {

const hasErrors =
!tokenStats.percentStaked ||
!tokenStats.historicalAverageProfitSharingAPY ||
(tokenStats.historicalAverageProfitSharingAPY == undefined || tokenStats.historicalAverageProfitSharingAPY == null) ||

Check failure on line 186 in src/runtime/pollers.js

View workflow job for this annotation

GitHub Actions / build (14.x, 4.4)

Replace `(tokenStats.historicalAverageProfitSharingAPY·==·undefined·||··tokenStats.historicalAverageProfitSharingAPY·==·null)` with `tokenStats.historicalAverageProfitSharingAPY·==·undefined·||⏎····tokenStats.historicalAverageProfitSharingAPY·==·null`
!tokenStats.totalGasSaved ||
!tokenStats.totalMarketCap

Expand Down

0 comments on commit d37148c

Please sign in to comment.