Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Unlocking 'Create Job' button when there's no job in progress #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ramongduraes
Copy link

A few suggested improvements on the dApp! I have unlocked the 'Create Job' button when:

  1. The job contract hasn't been created yet, so that the user can choose another service if he has picked one by mistake, for example;
  2. The job is complete, so that the user does not need to refresh the website every time a job is finished. In this case a button is rendered and the user is prompted to confirm that he wants to end the job (in which case the data is wiped).

Accomplished by sharing App's state variables as properties with Services and Job.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant