diff --git a/frontend/app/(main)/COMPANY_7/pop/_components/inbound/ChangeInbound.tsx b/frontend/app/(main)/COMPANY_7/pop/_components/inbound/ChangeInbound.tsx index de0c5f39..b66cb420 100644 --- a/frontend/app/(main)/COMPANY_7/pop/_components/inbound/ChangeInbound.tsx +++ b/frontend/app/(main)/COMPANY_7/pop/_components/inbound/ChangeInbound.tsx @@ -2,6 +2,7 @@ import React, { useState, useCallback, useEffect, useMemo, useRef } from "react"; import { useRouter } from "next/navigation"; +import { usePopCompanyPath } from "@/hooks/usePopCompanyPath"; import { SupplierModal, type Supplier, matchChosung } from "./SupplierModal"; import { SimpleKeypadModal } from "../common/SimpleKeypadModal"; import { BarcodeScanModal } from "../common/BarcodeScanModal"; @@ -56,6 +57,7 @@ const STORAGE_KEY = "pop_supplier_change"; export function ChangeInbound({ cart, onCartClick, saving, inboundType, sourceTable }: ChangeInboundProps) { const router = useRouter(); + const companyPath = usePopCompanyPath(); /* State */ const [selectedSupplier, setSelectedSupplier] = useState(null); @@ -240,7 +242,7 @@ export function ChangeInbound({ cart, onCartClick, saving, inboundType, sourceTa