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 (
{estimatePoints.map((point, index) => ( <span className="flex gap-1">
<h6 key={point.id}> {estimatePoints.map((point, index) => (
{point.value} <h6 key={point.id}>
{index !== estimatePoints.length - 1 && ","}{" "} {point.value}
</h6> {index !== estimatePoints.length - 1 && ","}{" "}
))} </h6>
))}
</span>
) )
</div> </div>
) : ( ) : (