feat: Refactor event data handling and API integration; update variable names for consistency and clarity

This commit is contained in:
2025-04-25 13:47:46 +05:30
parent c0e0bcb69d
commit a1a1eacb79
15 changed files with 245 additions and 188 deletions

View File

@@ -90,7 +90,7 @@ const Simulations: React.FC = () => {
(product) => product.productId === selectedProduct.productId
);
const events: Event[] = selectedProductData?.eventsData.map((event) => ({
const events: Event[] = selectedProductData?.eventDatas.map((event) => ({
pathName: event.modelName,
})) || [];