Coder Social home page Coder Social logo

governor's Introduction

Court

JavaScript Style Guide Build Status Tested with Jest Conventional Commits Commitizen Friendly Styled with Prettier

The Kleros governor user interface.

Get Started

  1. Clone this repo.
  2. Install and set up the MetaMask chrome extension.
  3. Configure MetaMask on the Kovan Test Network.
  4. Run yarn to install dependencies and then yarn start to start the dev server.

Other Scripts

  • yarn run prettify - Apply prettier to the entire project.
  • yarn run lint:styled - Lint the entire project's .js files with styled components.
  • yarn run lint:js - Lint the entire project's .js files.
  • yarn run lint:js --fix - Fix fixable linting errors in .js files.
  • yarn run lint - Lint the entire project's .js files with styled components and .js files.
  • yarn run cz - Run commitizen.
  • yarn run build - Create a production build.
  • yarn run build:analyze - Analyze the production build using source-map-explorer.

governor's People

Contributors

dependabot[bot] avatar eccentricexit avatar jaybuidl avatar satello avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

0xferit

governor's Issues

Fix unexpected errors

I get this error when creating a new list.
Hard refresh fixes it, but it comes back again next time.
image
image

Wrong error message shown when set to an unsupported network

If I visit
https://governor.kleros.io/
...in Brave with a custom RPC set to XDai (network 100), I expect it to say something like "wrong network", but in fact is shows me "Web3 not found"

The error message in the console triggering this is
VM14 8.94d5de1e.chunk.js:1 Contract KlerosGovernor not found on network ID: 100

It's not too bad because the advice is still correct, namely, "Please make sure you have your wallet unlocked on Mainnet or Kovan" but it confused me until I looked at the error in the console.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.