Skip to content

Commit

Permalink
Update MeasurementsCard.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmio committed May 5, 2024
1 parent a9dbfe5 commit 12ba922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pumpkin/[id]/MeasurementsCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const MeasurementsCard = ({ measurements, pumpkinId, pollinationDate, userPrefer
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent>
<DropdownMenuItem onSelect={() => router.push(`/pumpkin/${pumpkinId}/edit-measurement/${row.original.id}`)}>Edit</DropdownMenuItem>
<DropdownMenuItem onSelect={() => router.push(`/edit-measurement/${pumpkinId}/${row.original.id}`)}>Edit</DropdownMenuItem>
<DropdownMenuItem onSelect={() => deleteMeasurement(row.original.id)}>Delete</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
Expand Down

0 comments on commit 12ba922

Please sign in to comment.