Skip to content

Commit

Permalink
fix: remove DeepPartial imports from 'redux' and remove thunk concat …
Browse files Browse the repository at this point in the history
…after default middleware used
  • Loading branch information
egenerse committed Sep 16, 2024
1 parent 84bbf1e commit d8bc8cf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/main/components/store/model-store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { Component, PropsWithChildren } from 'react';
import { Provider } from 'react-redux';
import { combineReducers, Reducer, Store } from 'redux';
import createSagaMiddleware, { SagaMiddleware } from 'redux-saga';
import { thunk } from 'redux-thunk';
import { Actions } from '../../services/actions';
import { ILayer } from '../../services/layouter/layer';
import { LayouterRepository } from '../../services/layouter/layouter-repository';
Expand Down Expand Up @@ -65,7 +64,6 @@ export const createReduxStore = (
const middleware = getDefaultMiddleware({
serializableCheck: false,
})
.concat(thunk)
.concat(sagaMiddleware);

if (patcher) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { DeepPartial } from 'redux';
import { UMLPackage } from '../../common/uml-package/uml-package';
import { ComponentElementType, ComponentRelationshipType } from '..';
import { IUMLContainer } from '../../../services/uml-container/uml-container';
import * as Apollon from '../../../typings';
import { assign } from '../../../utils/fx/assign';
import { DeepPartial } from '../../../typings';

export interface IUMLSubsystem extends IUMLContainer {
stereotype: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ComponentElementType, ComponentRelationshipType } from '..';
import { IUMLComponent, UMLComponent } from '../../common/uml-component/uml-component';
import { DeepPartial } from 'redux';
import * as Apollon from '../../../typings';
import { assign } from '../../../utils/fx/assign';
import { DeepPartial } from '../../../typings';

export class UMLComponentComponent extends UMLComponent {
static supportedRelationships = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { DeepPartial } from 'redux';
import { DeploymentElementType, DeploymentRelationshipType } from '..';
import { IUMLComponent } from '../../common/uml-component/uml-component';
import * as Apollon from '../../../typings';
import { assign } from '../../../utils/fx/assign';
import { UMLComponent } from '../../common/uml-component/uml-component';
import { DeepPartial } from '../../../typings';

export class UMLDeploymentComponent extends UMLComponent {
static supportedRelationships = [
Expand Down

0 comments on commit d8bc8cf

Please sign in to comment.