Commit 01a128b8 authored by Internship UKSW 2019's avatar Internship UKSW 2019

Initial commit

parent ac793e79
......@@ -288,6 +288,12 @@ class FormCreate extends Component {
break;
}
}
for (let i = 0; i < (sbj.length - 1); i++) {
if (sbj[i] != " ") {
sbj = sbj.slice(i, (sbj.length - i));
break;
}
}
await this.setState({ subject: sbj });
if (this.state.subject != "") {
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment