feat: Refactor event data handling and API integration; update variable names for consistency and clarity
This commit is contained in:
@@ -37,7 +37,7 @@ const SideBarRight: React.FC = () => {
|
||||
useEffect(() => {
|
||||
if (activeModule !== "mechanics" && selectedEventData && selectedEventSphere) {
|
||||
setSubModule("mechanics");
|
||||
} else {
|
||||
} else if (!selectedEventData && !selectedEventSphere) {
|
||||
if (activeModule === 'simulation') {
|
||||
setSubModule("simulations");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user