Skip to content

Conversation

Tristan-WorkGH
Copy link
Contributor

No description provided.

@Tristan-WorkGH Tristan-WorkGH self-assigned this Jul 23, 2024
@achour94 achour94 self-requested a review July 24, 2024 08:11
@thangqp thangqp closed this Jul 24, 2024
@thangqp thangqp deleted the migrate-reducer-ts branch July 24, 2024 16:27
@thangqp thangqp restored the migrate-reducer-ts branch July 24, 2024 17:29
@thangqp thangqp reopened this Jul 24, 2024
import RestoreNodesDialog from './dialogs/restore-node-dialog';
import ScenarioEditor from './graph/menus/dynamic-simulation/scenario-editor';
import { StudyDisplayMode } from '../redux/reducer.type';
import { StudyDisplayMode } from '../redux/reducer';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it creates a circular dependency

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it's not the only one...

import { nodeTypes } from './graph/util/model-constants';
import { BUILD_STATUS } from './network/constants';
import { StudyDisplayMode } from '../redux/reducer.type';
import { StudyDisplayMode } from '../redux/reducer';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it creates a circular dependency

Copy link
Contributor Author

@Tristan-WorkGH Tristan-WorkGH Jul 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💬 discussion in #2187 (comment)

Copy link
Contributor

@Meklo Meklo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get the following error launching the app : Uncaught ReferenceError: can't access lexical declaration 'NetworkModificationTreeModel' before initialization

@Tristan-WorkGH Tristan-WorkGH merged commit add6c5f into main Aug 5, 2024
@Tristan-WorkGH Tristan-WorkGH deleted the migrate-reducer-ts branch August 5, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants