Skip to content

Commit 4ba970a

Browse files
committed
fix ultimate conclusion
1 parent a3fa354 commit 4ba970a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
backend/__pycache__
22
backend/venv
3-
*.csv
3+
*.csv
4+
5+
/demo

client/my-app/src/DataDisplay/DataDisplay.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export default function DataDisplay(props) {
77
props.data ?
88
<div className="heading">
99
<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'}
1212
</h1>
1313
<div className="dataDisplay">
1414

0 commit comments

Comments
 (0)