From 1be4dc9fc65940cae86d77732fe0a3bce91ed50f Mon Sep 17 00:00:00 2001 From: seaerchin Date: Wed, 22 Mar 2023 18:23:47 +0800 Subject: [PATCH] chore(requestoverview): remove unused props --- .../components/RequestOverview/RequestOverview.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/layouts/ReviewRequest/components/RequestOverview/RequestOverview.tsx b/src/layouts/ReviewRequest/components/RequestOverview/RequestOverview.tsx index 98a8b0e127..9eab4958d4 100644 --- a/src/layouts/ReviewRequest/components/RequestOverview/RequestOverview.tsx +++ b/src/layouts/ReviewRequest/components/RequestOverview/RequestOverview.tsx @@ -57,11 +57,8 @@ import { BiCheck, BiEditAlt, } from "react-icons/bi" -import { useParams } from "react-router-dom" import { TableVirtuoso } from "react-virtuoso" -import { useStagingUrl } from "hooks/settingsHooks" - import { BxFileArchiveSolid } from "assets" import { EditedItemProps } from "types/reviewRequest" import { extractInitials, getDateTimeFromUnixTime } from "utils" @@ -174,11 +171,9 @@ export const RequestOverview = ({ handleCollapse, } = useSearchbar({}) const columnHelper = createColumnHelper() - const { siteName } = useParams<{ siteName: string }>() const theme = useTheme() const [sorting, setSorting] = useState([]) const [columnFilters, setColumnFilters] = useState([]) - const { data: stagingUrl } = useStagingUrl({ siteName }) const handleFilter = (filter: unknown, column: Column) => { const curFilterValue = column.getFilterValue()