Skip to content
This repository was archived by the owner on Dec 17, 2021. It is now read-only.
This repository was archived by the owner on Dec 17, 2021. It is now read-only.

Contracts apparently aren't loading properly when someone uses the app for the first time #107

@Dhaiwat10

Description

@Dhaiwat10

Describe the bug
The token() call to the drecruit contract in pages/index.js throws an exception when someone uses the app for the first time. As a result, the user sees a blank page instead of the different dev profiles.

To Reproduce
Steps to reproduce the behavior:

  1. delete all cookies and side data (including cache)
  2. have any network apart from mumbai selected in your wallet
  3. go the the site
  4. connect wallet
  5. switch network

Expected behavior
The contract call should not throw an exception and the contract should be loaded properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions