fix: change property
This commit is contained in:
parent
73de3fd07d
commit
dcaf38e382
@ -155,7 +155,7 @@ export async function fetchPropertyDetail({ slug }: FetchPropertyDetailParams) {
|
||||
);
|
||||
|
||||
const formattedBasePrice = formatCurrency(data.base_price);
|
||||
let additionalPrice: { name: string; price: string }[] = [];
|
||||
const additionalPrice: { name: string; price: string }[] = [];
|
||||
let totalPrice = 0;
|
||||
if (Array.isArray(data.additional_price)) {
|
||||
for (const p of data.additional_price) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user