diff --git a/src/pages/AdminPage/Management/Party/PartyDetail/CancelPrice/index.tsx b/src/pages/AdminPage/Management/Party/PartyDetail/CancelPrice/index.tsx index 50755f3f..01671045 100644 --- a/src/pages/AdminPage/Management/Party/PartyDetail/CancelPrice/index.tsx +++ b/src/pages/AdminPage/Management/Party/PartyDetail/CancelPrice/index.tsx @@ -1,4 +1,4 @@ -import { memo } from "react"; +import { memo, useMemo } from "react"; import { priceToString } from "@/utils"; interface Props { @@ -6,11 +6,13 @@ interface Props { } function CancelPrice({ discountPrice }: Props) { + const MallangTripFee = useMemo(() => 0.9, []); + return (
총 위약금 수익
{`${priceToString( - discountPrice + discountPrice * MallangTripFee )}원`}