import React from "react"; import GameDataManager from "../../../../services/GameDataManager.js"; import { getServerUrl } from "../../../../config/api.js"; import "./DungeonFinish.css"; const DungeonFinish = ({ rewards, onExit }) => { const CONNECT_URL = getServerUrl(); const ASSET_BASE_URL = `${CONNECT_URL}/static/`; const getFullTextureUrl = (path) => { if (!path) return "/assets/no-image.png"; if (path.startsWith("http")) return path; return `${ASSET_BASE_URL}${path}`; }; return (