-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
type/bugan issue describing a probleman issue describing a problem
Description
Describe the bug
Nothing Append when I request a treatment
To Reproduce
Steps to reproduce the behavior:
- Go to sickbay
- Admit a patient
- Choose a symptoms
- Try to click on request treatment
Additional context
The constructor of src/components/views/Sickbay/bunkDetail/scanning.jsx reads the prop scanrequest, but the rest of the code uses scanRequest. I think that this typo means the initial request state is undefined.
constructor(props) {
super(props);
this.state = {
request: props.scanrequest,
};
}

Metadata
Metadata
Assignees
Labels
type/bugan issue describing a probleman issue describing a problem