Skip to content

Commit

Permalink
format (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanyvu authored Jan 27, 2025
1 parent 50f671c commit 89430c4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions react-app/src/features/package/package-actions/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useGetItem, useGetPackageActions } from "@/api";
import { LoadingSpinner } from "@/components";
import { DETAILS_ORIGIN, ORIGIN, mapActionLabel } from "@/utils";
import { WAIVER_SUBMISSION_ORIGIN, DETAILS_ORIGIN, ORIGIN, mapActionLabel } from "@/utils";
import { DetailCardWrapper } from "..";
import { FC } from "react";
import { Link, useLocation } from "react-router";
Expand Down Expand Up @@ -39,7 +39,10 @@ export const PackageActionsCard: FC<{ id: string }> = ({ id }) => {
to={{
pathname: `/actions/${type}/${item.data?._source.authority}/${id}`,
search: new URLSearchParams({
[ORIGIN]: DETAILS_ORIGIN,
[ORIGIN]:
type === "amend-waiver" || type === "temporary-extension"
? WAIVER_SUBMISSION_ORIGIN
: DETAILS_ORIGIN,
}).toString(),
}}
className="text-sky-700 font-semibold text-lg"
Expand Down

0 comments on commit 89430c4

Please sign in to comment.