Skip to content

changed hardcoded data , fixed fetching of elections

kumar harsh requested to merge harshme78/agora-blockchain:develop into develop
  1. The account addresses were hard-coded, so I fetched them using web3 provider by using the signer address making the signup process and other processes more seamless.

  2. Redirection after signup is fixed (whenever a new user was created he had to manually navigate to /dashboard, fixed that issue so that it is automatically redirected).

  3. list of all current elections was not visible in the table so fixed that and the details of the current user was missing from the nav bar. The problem was with useState conditional rendering and the deployed contract address of the election organizer contract.

This was an error fetching the list of all elections:

Screenshot_2023-03-04_at_12.09.25_AM

After Fixing Issue:

Screenshot_2023-03-04_at_12.35.27_AM

Merge request reports