File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments