현금영수증 완료
This commit is contained in:
@@ -34,6 +34,7 @@ import { MerchantInfoSection } from '@/entities/transaction/ui/section/merchant-
|
||||
export const EscrowDetailPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
const location = useLocation();
|
||||
const paramTid = location?.state.tid;
|
||||
|
||||
const [amountInfo, setAmountInfo] = useState<ImportantInfo>();
|
||||
const [importantInfo, setImportantInfo] = useState<ImportantInfo>();
|
||||
@@ -54,7 +55,7 @@ export const EscrowDetailPage = () => {
|
||||
const [bottomSheetOn, setBottomSheetOn] = useState<boolean>(false);
|
||||
|
||||
const [orderNumber, setOrderNumber] = useState<string>();
|
||||
const [tid, setTid] = useState<string>();
|
||||
const [tid, setTid] = useState<string | undefined>(paramTid);
|
||||
|
||||
useSetHeaderTitle('에스크로 상세');
|
||||
useSetHeaderType(HeaderType.RightClose);
|
||||
@@ -68,7 +69,7 @@ export const EscrowDetailPage = () => {
|
||||
|
||||
const callDetail = () => {
|
||||
let escroDetailParams: EscrowDetailParams = {
|
||||
issueNumber: location?.state.issueNumber,
|
||||
tid: tid || paramTid,
|
||||
};
|
||||
escrowDetail(escroDetailParams).then((rs: DetailResponse) => {
|
||||
setImportantInfo(rs.importantInfo || {});
|
||||
|
||||
Reference in New Issue
Block a user