Commit Graph

5 Commits

Author SHA1 Message Date
80a672adf0 Refactor simulation product handling and state management
- Replaced `useComparisonProduct` with `useSimulationState` in multiple components to streamline state management.
- Updated `SyncCam` to use `comparisonScene` instead of `comparisonProduct`.
- Modified `Products` component to utilize `mainScene` and `comparisonScene` for product selection.
- Adjusted various simulation functions to accept `ProductsSchema` instead of `productsSchema`.
- Enhanced `Simulator` component to fetch simulation data using the updated state structure.
- Refined Zustand store to manage `mainScene` and `comparisonScene` states, including their respective setters and clearers.
- Updated type definitions for products to ensure consistency across the application.
- Cleaned up shortcut key handling to reflect changes in state management.
2025-09-08 11:40:27 +05:30
3b8bdd3684 refactor api-simulation for create and fetch 2025-09-06 14:05:29 +05:30
0e8a004f70 layout worked with backend 2025-09-06 09:24:10 +05:30
b3a4c03ba0 added comparsion data 2025-09-05 15:06:35 +05:30
f6a63c20d7 add simulations data 2025-09-04 17:26:18 +05:30