File tree 2 files changed +5
-3
lines changed
client/my-app/src/DataDisplay
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
backend /__pycache__
2
2
backend /venv
3
- * .csv
3
+ * .csv
4
+
5
+ /demo
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ export default function DataDisplay(props) {
7
7
props . data ?
8
8
< div className = "heading" >
9
9
< h1 > Based on location, your client's insurance premium should be relatively</ h1 >
10
- < h1 style = { { display : 'inline' , color : props ?. data ?. UltimateConclusion ? '#00ff80' : '#ff8383' } } >
11
- { props ?. data ?. UltimateConclusion ? 'high' : 'low' }
10
+ < h1 style = { { display : 'inline' , color : ( props ?. data ?. UltimateConclusion && props . data . UltimateConclusion === 'Insurance Rates are likely to increase' ? '#00ff80' : '#ff8383' ) } } >
11
+ { props ?. data ?. UltimateConclusion && props . data . UltimateConclusion === 'Insurance Rates are likely to increase' ? 'high' : 'low' }
12
12
</ h1 >
13
13
< div className = "dataDisplay" >
14
14
You can’t perform that action at this time.
0 commit comments