Fixed a React state update issue in the ObjectOptionsDropdownMenuViewName component where the icon state was being updated during render, causing a React warning. ### What was the issue? - The code was updating the view's icon state (`setViewPickerSelectedIcon`) on component mount - This triggered React's warning: "Cannot update a component while rendering a different component" ### How was it fixed? - Moved the state update into a `useEffect` hook - The icon state now updates properly after component render - Added proper dependencies to the `useEffect` hook (`currentView.icon` and `setViewPickerSelectedIcon`) https://github.com/user-attachments/assets/b3b6b3ba-16cd-4d9a-83db-eea96dc51bd6 fix #11852
Run yarn dev while server running on port 3000