telosnetwork / open-block-explorer

The Open Block Explorer (OBE) is the first open source block explorer that is designed to support all AntelopeIO-based blockchains.
https://explorer.telos.net
Apache License 2.0
27 stars 24 forks source link

doing some housekeeping to the code #637

Closed Viterbo closed 1 year ago

Viterbo commented 1 year ago

Fixes #636

Description

There are lots of places where the code should be prepared from a bad indentation or bad practice. This PR fixes all indentation problems and some minor refactor as well.

Test scenarios

No behavior should be changed. Open in parallel the current dev site and this branch in different tabs. Browse both at the same time. You should not see any difference.

Checklist:

netlify[bot] commented 1 year ago

Deploy Preview for obe-testnet ready!

Name Link
Latest commit 315dea6f5581b4ec19cb3643e4d11fac5195e674
Latest deploy log https://app.netlify.com/sites/obe-testnet/deploys/640660f20829f50008b4c34b
Deploy Preview https://deploy-preview-637--obe-testnet.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] commented 1 year ago

Deploy Preview for obe-staging ready!

Name Link
Latest commit 315dea6f5581b4ec19cb3643e4d11fac5195e674
Latest deploy log https://app.netlify.com/sites/obe-staging/deploys/640660f202374d000837b7bc
Deploy Preview https://deploy-preview-637--obe-staging.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

cloudflare-workers-and-pages[bot] commented 1 year ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 315dea6
Status: ✅  Deploy successful!
Preview URL: https://8422c4b7.open-block-explorer.pages.dev
Branch Preview URL: https://636-the-code-needs-some-hous.open-block-explorer.pages.dev

View logs