Skip to content

Commit

Permalink
fix: the agreement from value for the breadcrumb to go back
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanCassiere committed Jul 30, 2024
1 parent 4ab511a commit 39864ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/add-rental/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,11 @@ function AddRentalParentForm({
{isEdit && module === "agreement" && (
<>
<Link
from="/agreements/$agreementId/edit"
from={
isCheckin
? "/agreements/$agreementId/check-in"
: "/agreements/$agreementId/edit"
}
to=".."
className="text-2xl font-semibold leading-6"
>
Expand Down

0 comments on commit 39864ba

Please sign in to comment.