-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate reducer to TypeScript #2187
Conversation
9c182a8
to
651fe8d
Compare
@@ -41,7 +41,7 @@ import { | |||
import { buildNode, getUniqueNodeName, unbuildNode } from '../services/study'; | |||
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'; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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...
@@ -28,7 +28,7 @@ import { useIntl } from 'react-intl'; | |||
import CropFreeIcon from '@mui/icons-material/CropFree'; | |||
import { nodeTypes } from './graph/util/model-constants'; | |||
import { BUILD_STATUS } from './network/constants'; | |||
import { StudyDisplayMode } from '../redux/reducer.type'; | |||
import { StudyDisplayMode } from '../redux/reducer'; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💬 discussion in #2187 (comment)
src/components/graph/menus/dynamic-simulation/event-modification-scenario-editor.tsx
Outdated
Show resolved
Hide resolved
src/components/graph/menus/dynamic-simulation/event-modification-scenario-editor.tsx
Show resolved
Hide resolved
src/components/dialogs/network-modifications/by-formula/formula/formula-form.tsx
Outdated
Show resolved
Hide resolved
eaf984b
to
2471746
Compare
2471746
to
66432b1
Compare
There was a problem hiding this 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
8f6250f
to
bb82996
Compare
4bf6f4a
to
b301be7
Compare
No description provided.