Skip to content

Resolve issue#40 (Remove redundancy from auth.js file)

Yogendra Jhala requested to merge Yugg007/agora-blockchain:develop into develop

Description

Issue - 40 (A common getSigner or provider function in all js files) - to get contract and account.

Fixes # (issue) Add a function that gets the value of contract and account initially, which requires in the further function that's why I stored the value in useState so that we don't have to use execute the same line of code again and again.

Type of change

Please mark the options that are relevant.

  • Improved the business logic of code
  • Added new function
  • Remove Redundancy

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

New Merge Request

Description

Issue #41 - After create a election, dashboard does not respond to current creation. Issue #42 - Start date/time and End date/time for election is hardcoded. Bug - Election statistics are not dynamic. - Election Status is not dynamic - After creating an election, the election modal doesn't close automatically. - Improve UI for Create Election Button/Get Bright ID button.

Fixes # (issue) Resolve issue #41 - Dashboard respond to all election creation as well it will load all past election. Resolve issue #42 - All Data and Time are fetched from election.sol(smart contract) dynamically. Bug - Resolve all bugs, You can see in below attached image

Type of change

Please mark the options that are relevant.

  • Updated UI/UX
  • Improved the business logic of code
  • Added new feature/function
  • 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
Edited by Yogendra Jhala

Merge request reports