- Removed direct usage of useMaterialStore in various components and replaced it with useSceneContext to access materialStore. - Introduced SceneProvider to encapsulate materialStore creation and provide it through context. - Updated components such as CompareLayOut, Scene, and various action handlers to utilize the new context structure. - Cleaned up imports and removed unnecessary console logs. - Adjusted Project component to conditionally render ComparisonResult based on a boolean flag. |
||
---|---|---|
.. | ||
result-card | ||
Compare.tsx | ||
CompareLayOut.tsx | ||
ComparisonResult.tsx |