Closed Viterbo closed 1 year ago
There are lots of places where the code has a bad indentation making it very hard to read and understand.
Examples: It's hard to figure out where the try-catch structure is https://github.com/telosnetwork/open-block-explorer/blob/master/src/components/staking/StakingDialog.vue#L89-L100
Here the code is indented with 2 spaces when all the rest is using 4 spaces https://github.com/telosnetwork/open-block-explorer/blob/master/src/components/contract/ContractTables.vue
This function is called sendTransaction() when actually it sends just one action (creating the transaction inside the function) https://github.com/telosnetwork/open-block-explorer/blob/master/src/store/account/actions.ts#L148
sendTransaction()
inline style attribute should not be used directly on the html https://github.com/telosnetwork/open-block-explorer/blob/master/src/pages/Transaction.vue#L72
Description
There are lots of places where the code has a bad indentation making it very hard to read and understand.
Examples: It's hard to figure out where the try-catch structure is https://github.com/telosnetwork/open-block-explorer/blob/master/src/components/staking/StakingDialog.vue#L89-L100
Here the code is indented with 2 spaces when all the rest is using 4 spaces https://github.com/telosnetwork/open-block-explorer/blob/master/src/components/contract/ContractTables.vue
This function is called
sendTransaction()
when actually it sends just one action (creating the transaction inside the function) https://github.com/telosnetwork/open-block-explorer/blob/master/src/store/account/actions.ts#L148inline style attribute should not be used directly on the html https://github.com/telosnetwork/open-block-explorer/blob/master/src/pages/Transaction.vue#L72