feat: Refactor event data handling and API integration; update variable names for consistency and clarity
This commit is contained in:
@@ -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,
|
||||
})) || [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user