fixed the api url
All checks were successful
Build frontend / build (push) Successful in 56s

This commit is contained in:
mouazkh
2026-06-23 23:45:48 +03:00
parent 199478f237
commit 8d3a745cc3
2 changed files with 6 additions and 9 deletions

View File

@ -181,8 +181,8 @@ export default function PaymentsPage() {
const loadReservations = useCallback(async () => {
try {
const data = await getMyTransaction();
const items = Array.isArray(data) ? data : [];
const json = await getMyTransaction();
const items = Array.isArray(json) ? json : [];
const mapped = items.map((item) => {
const deposit = item?.diposit || item?.deposit || {};