Skip to content

Commit

Permalink
feat: refactor escrow dialog hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
brolag committed Feb 23, 2025
1 parent b2906b0 commit 1dc4e08
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 204 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ const EditMilestonesDialog = ({
<TooltipInfo content="Key stages or deliverables for the escrow." />
</FormLabel>
{milestones.map((milestone, index) => (
<>
<div key={index} className="flex items-center space-x-4">
<div
key={`milestone-${index}`}
className="flex flex-col gap-4"
>
<div className="flex items-center space-x-4">
{milestone.flag ? (
<Badge className="uppercase max-w-24">Approved</Badge>
) : (
Expand Down Expand Up @@ -117,7 +120,7 @@ const EditMilestonesDialog = ({
Add Item
</Button>
)}
</>
</div>
))}
</div>
</div>
Expand Down
Loading

0 comments on commit 1dc4e08

Please sign in to comment.