Skip to content

Commit 1a54641

Browse files
author
Connor Boyle
committed
Remove Italics
1 parent 82e6853 commit 1a54641

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

client/src/components/DeidentifiedText.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,16 @@ export class DeidentifiedText extends React.Component {
1111
render() {
1212
let content;
1313
let color;
14-
let fontStyle;
1514
if (this.props.text === deidentificationStates.EMPTY || this.props.text === "") {
16-
fontStyle = "italic"
1715
color = "grey";
1816
content = "Add a clinical note on the left and click on 'Deidentify Note'";
1917
} else if (this.props.text === deidentificationStates.LOADING) {
20-
fontStyle = "italic"
2118
color = "grey";
2219
content = "Loading..."
2320
} else if (this.props.text === deidentificationStates.ERROR) {
24-
fontStyle = "italic"
2521
color = "grey";
2622
content = "API call resulted in error!"
2723
} else {
28-
fontStyle = "normal"
2924
color = "black";
3025
content = this.props.text;
3126
}
@@ -39,7 +34,7 @@ export class DeidentifiedText extends React.Component {
3934
disabled
4035
rows={20}
4136
value={content}
42-
InputProps={{ style: {color: color, fontStyle: fontStyle} }}
37+
InputProps={{ style: {color: color} }}
4338
/>
4439
</Paper>
4540
);

0 commit comments

Comments
 (0)