fix: removed extra spaces form estimate points brackets (#837)

This commit is contained in:
Kunal Vishwakarma 2023-04-17 11:15:06 +05:30 committed by GitHub
parent 363c5c8ec4
commit 5a36a7931f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,14 +152,16 @@ export const SingleEstimate: React.FC<Props> = ({
</CustomMenu> </CustomMenu>
</div> </div>
{estimatePoints && estimatePoints.length > 0 ? ( {estimatePoints && estimatePoints.length > 0 ? (
<div className="flex gap-2 text-sm text-gray-400"> <div className="flex text-sm text-gray-400">
Estimate points( Estimate points (
<span className="flex gap-1">
{estimatePoints.map((point, index) => ( {estimatePoints.map((point, index) => (
<h6 key={point.id}> <h6 key={point.id}>
{point.value} {point.value}
{index !== estimatePoints.length - 1 && ","}{" "} {index !== estimatePoints.length - 1 && ","}{" "}
</h6> </h6>
))} ))}
</span>
) )
</div> </div>
) : ( ) : (