(Refactor) of existing code (no functionality change)
What was the root cause of the problem originally / what feature was missing?
Simplify code in order to make it more readable and testable by mainly extracting and refactoring functions.
How does this pull request solve it (in broad terms)?
Refactor functions
Does it close any open issues?
Closes #17
Quick checklist
[X] eslint shows no errors
cd web-dapp
eslint .
[X] docs were updated where necessary OR they don't need to be updated
[X] tests were updated where necessary OR they don't need to be updated
What is it? (leave one option)
(Refactor)
of existing code (no functionality change)What was the root cause of the problem originally / what feature was missing? Simplify code in order to make it more readable and testable by mainly extracting and refactoring functions.
How does this pull request solve it (in broad terms)? Refactor functions
Does it close any open issues? Closes #17
Quick checklist
Additional information