Skip to content

Added anaytics api

Description

I have created a function in the User contract that will return an array containing the analytics of the elections of an user. Then I have called the same function inside the ``Dashboard.js``` file to get the array.

Fixes #14

Type of change

Please mark the options that are relevant.

  • Updated UI/UX
  • Improved the business logic of code
  • Added new feature
  • Other

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Merge request reports