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>
</div>
{estimatePoints && estimatePoints.length > 0 ? (
<div className="flex gap-2 text-sm text-gray-400">
Estimate points(
<div className="flex text-sm text-gray-400">
Estimate points (
<span className="flex gap-1">
{estimatePoints.map((point, index) => (
<h6 key={point.id}>
{point.value}
{index !== estimatePoints.length - 1 && ","}{" "}
</h6>
))}
</span>
)
</div>
) : (