DAVFoundation / xplore

⛓ A block explorer for local Ethereum testnets
MIT License
62 stars 65 forks source link

clean up `(` around single function parameters #70

Closed cg-cnu closed 6 years ago

cg-cnu commented 6 years ago

Expected Behavior

Arrow functions don't need to have a '(' around the parameters if its a single parameter.

Current Behavior

Right now, some places we have '(', some places we don't have.

Possible Solution

We can do a refactor to follow either of the style. @TalAter Let me know your thoughts! Can create few first timers with that!

TalAter commented 6 years ago

If there are still places where this is an issue, go ahead. I believe I fixed most earlier today.