Skip to content

Commit

Permalink
feat: verify record style
Browse files Browse the repository at this point in the history
  • Loading branch information
jimcase committed Jan 11, 2021
1 parent ba44531 commit 8b98659
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions client/src/components/app/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class App extends Component {
this.getAllEvents();
this.getAddPatientEvents();
this.getCreatedDoctorEvents();
this.checkImPatient();
//this.checkImPatient();
});

} catch (error) {
Expand Down Expand Up @@ -1186,11 +1186,15 @@ class App extends Component {
</Card.Text>
</Card.Body>
<Card.Footer className="text-muted">
<p>Hash: {this.state.verifyRecordHash}</p>
<p>Hash to check: {this.state.verifyRecordHash}</p>
<h5>is a valid record? {this.state.verified ? (
<p>YES</p>
<p
style={{background: 'green'}}
>YES</p>
) : (
<p>NO</p>
<p

>No</p>
)}</h5>
</Card.Footer>
</Card>
Expand Down

0 comments on commit 8b98659

Please sign in to comment.