ethereum-org-website
ethereum-org-website copied to clipboard
Fixed #7817, Handle /txs response correctly for 'Number of transactions today'
Description
"Number of transactions today" was calculated from the result of /txs (src/lambda/txs.ts)
After ecf1791bf5ffae6c3edf756617ab07b7f212ea22 commit (included in v5.0.0), .result was handled in /txs already.
So there are no need to handle .result in src/pages-conditional/what-is-ethereum.tsx.
FYI, src/components/StatsBoxGrid.tsx was also using /txs and already patched this in 13 Jul (https://github.com/ethereum/ethereum-org-website/commit/214600eb509ffa228af16fb24f3b939b9c91d995).
Related Issue
#7817
:white_check_mark: ethereum-org-website-dev deploy preview ready
- Deploy preview
- Build logs · 40m build time
Fixed.
https://ethereumorgwebsitedev01-minhoryangethereumorgwebsitefi.gtsb.io/en/what-is-ethereum/
@all-contributors can you add @minhoryang for code