Skip to content

Commit

Permalink
eliminate dependency cycles by using "type" for type-only imports
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-hackin committed May 15, 2023
1 parent f5dcf3d commit 09c0507
Show file tree
Hide file tree
Showing 38 changed files with 48 additions and 68 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ module.exports = {
'no-restricted-syntax': ['error', 'ForInStatement', 'LabeledStatement', 'WithStatement'],
'no-continue': 0,
'no-underscore-dangle': 0,
// TODO: remove dep cycles
'import/no-cycle': 0,
'func-names': 0,
'@typescript-eslint/no-shadow': 0,
},
Expand Down
2 changes: 1 addition & 1 deletion src/WidgetWorkspace/components/DielineViewToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import ZoomOutIcon from '@mui/icons-material/ZoomOut';
import { styled } from '@mui/styles';
import { observer } from 'mobx-react';
import { HorizontalSplit, VerticalSplit } from '@mui/icons-material';
import { WorkspaceModel } from '../models/WorkspaceModel';
import type { WorkspaceModel } from '../models/WorkspaceModel';
import { useWorkspaceMst } from '../rootStore';

const TOOL_ICON_MAP = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export function GridPattern({ patternId }) {
return (
<defs>
<pattern id={patternId} patternUnits="userSpaceOnUse" x="0" y="0" width="100" height="100">
{/* eslint-disable-next-line max-len */}
<g>
<rect x={0} y={0} width={100} height={100} fill={theme.palette.background.paper} />
{/* eslint-disable-next-line max-len,react/jsx-first-prop-new-line,react/jsx-max-props-per-line */}
Expand Down
2 changes: 1 addition & 1 deletion src/WidgetWorkspace/models/WorkspaceModel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import fileDownload from 'js-file-download';
import { radioProp, switchProp } from '../../common/keystone-tweakables/props';
import { UNITS } from '../../common/util/units';
import { BaseWidgetClass } from '../widget-types/BaseWidgetClass';
import { Orientation } from '../index';
import type { Orientation } from '../index';

type WidgetJSON = {
widget: {
Expand Down
14 changes: 0 additions & 14 deletions src/WidgetWorkspace/rootStore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,8 @@ import { connectReduxDevTools, registerRootStore } from 'mobx-keystone';
import React, { createContext, useContext } from 'react';
import { WorkspaceModel } from './models/WorkspaceModel';
// previews must follow WorkspaceModel import
import { PyramidNetWidgetModel } from '../widgets/PyramidNet/models/PyramidNetWidgetStore';
import { CylinderLightboxWidgetModel } from '../widgets/CylinderLightbox';
import { SquareGridDividerWidgetModel } from '../widgets/CrosshatchShelves/SquareGridDividerWidgetModel';
import { DiamondGridDividerWidgetModel } from '../widgets/CrosshatchShelves/DiamondGridDividerWidgetModel';
import { TriangularGridWidgetModel } from '../widgets/CrosshatchShelves/TriangularGrid';
import { IS_DEVELOPMENT_BUILD } from '../common/constants';

// eslint-disable-next-line no-console
console.log('Widgets: ', [
PyramidNetWidgetModel,
CylinderLightboxWidgetModel,
SquareGridDividerWidgetModel,
DiamondGridDividerWidgetModel,
TriangularGridWidgetModel,
]);

export const workspaceStore = new WorkspaceModel({});
registerRootStore(workspaceStore);
const WorkspaceStoreContext = createContext<WorkspaceModel>(workspaceStore);
Expand Down
9 changes: 0 additions & 9 deletions src/WidgetWorkspace/widget-types/types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,9 @@ import { FC, ReactElement } from 'react';

import { TxtFileInfo } from '@/common/types';
import { dimensions } from '../../common/util/data';
import { RegisteredAssetsDefinition } from './RegisteredAssetsDefinition';
import { DisjunctAssetsDefinition } from './DisjunctAssetsDefinition';
import { SolitaryAssetDefinition } from './SolitaryAssetDefinition';

export interface viewBoxProps { viewBox: string }

export interface AdditionalFileMenuItemsProps {
resetFileMenuRef: ()=>void,
}

export type WidgetSVGComponent = FC<any>;
export type DocumentAreaProps = (dimensions | viewBoxProps);

Expand All @@ -25,5 +18,3 @@ export const filePathConstructor = (
assetName: string | undefined,
copies: number | undefined,
) => `${fileBaseName}${assetName ? `__${assetName}` : ''}${copies ? `__X${copies}` : ''}.svg`;

export type AssetDefinition = DisjunctAssetsDefinition | RegisteredAssetsDefinition | SolitaryAssetDefinition;
2 changes: 1 addition & 1 deletion src/common/keystone-tweakables/data.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createContext } from 'mobx-keystone';
import { AnyMetadata } from './types';
import type { AnyMetadata } from './types';

export const propertyMetadataCtx = createContext<AnyMetadata>();
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import {
import { computed, observable } from 'mobx';
import { ownPropertyName, resolveLabel } from '../util';
import { propertyMetadataCtx } from '../data';
import { PrimitiveMetadata } from '../types';
import type { PrimitiveMetadata } from '../types';

@model('TweakablePrimitiveModel')// eslint-disable-next-line @typescript-eslint/no-shadow
@model('TweakablePrimitiveModel')
export class TweakablePrimitiveModel<T, M extends PrimitiveMetadata> extends Model(<T>() => ({
value: prop<T>().withSetter(),
}))<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ExtendedModel, model, modelClass } from 'mobx-keystone';
import { TweakablePrimitiveModel } from './TweakablePrimitiveModel';
import { createOptionsGetter } from '../util';
import { OptionsListItem, WithOptionsMetadata } from '../types';
import type { OptionsListItem, WithOptionsMetadata } from '../types';

@model('TweakablePrimitiveWithOptionsModel')
export class TweakablePrimitiveWithOptionsModel<T, M extends WithOptionsMetadata<T>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
import { computed, observable } from 'mobx';
import { propertyMetadataCtx } from '../data';
import { ownPropertyName, resolveLabel } from '../util';
import { ReferenceMetadata } from '../types';
import type { ReferenceMetadata } from '../types';

@model('TweakableReferenceModel')
export class TweakableReferenceModel<T extends object, M extends ReferenceMetadata> extends Model(
Expand Down
6 changes: 3 additions & 3 deletions src/common/keystone-tweakables/util.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { getParent, getParentToChildPath } from 'mobx-keystone';
import { computed, makeObservable } from 'mobx';
import { isFunction, startCase } from 'lodash-es';
import { TweakablePrimitiveWithOptionsModel } from './models/TweakablePrimitiveWithOptionsModel';
import { TweakableReferenceWithOptionsModel } from './models/TweakableReferenceWithOptionsModel';
import {
import type { TweakablePrimitiveWithOptionsModel } from './models/TweakablePrimitiveWithOptionsModel';
import type { TweakableReferenceWithOptionsModel } from './models/TweakableReferenceWithOptionsModel';
import type {
TweakableModel,
labelGenerator,
labelOverride,
Expand Down
3 changes: 1 addition & 2 deletions src/common/path/PathData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import { reverse } from 'svg-path-reverse';
import {
castCoordToRawPoint, Coord, PointLike, pointsAreEqual, RawPoint, rawPointToString,
} from '../util/geom';
// eslint-disable-next-line import/no-cycle
import { roundedEdgePath } from './shapes/generic';

/* eslint-disable no-param-reassign */

enum CommandCodes { M = 'M', L = 'L', C = 'C', S = 'S', Q = 'Q', T = 'T', A = 'A', Z = 'Z' }

export interface DestinationCommand {
Expand Down
1 change: 1 addition & 0 deletions src/common/path/shapes/generic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {
distanceBetweenPoints,
hingedPlot, PointLike, RawPoint,
} from '../../util/geom';
// eslint-disable-next-line import/no-cycle
import { PathData } from '../PathData';

interface RoundPoint {
Expand Down
3 changes: 1 addition & 2 deletions src/common/path/shapes/strokeDashPath.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line max-classes-per-file
import {
chunk, last, range, startCase, sum, uniq,
} from 'lodash-es';
Expand All @@ -13,7 +12,7 @@ import {
import { PathData } from '../PathData';
import { referenceSelectProp, sliderWithTextProp } from '../../keystone-tweakables/props';
import { WorkspaceModel } from '../../../WidgetWorkspace/models/WorkspaceModel';
import { PyramidNetWidgetModel } from '../../../widgets/PyramidNet/models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../../../widgets/PyramidNet/models/PyramidNetWidgetStore';
import { ratioSliderProps } from '../../../widgets/PyramidNet/constants';
import { DEFAULT_SLIDER_STEP } from '../../constants';

Expand Down
1 change: 0 additions & 1 deletion src/widgets/CylinderLightbox/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line max-classes-per-file
import { computed } from 'mobx';
import React from 'react';
import {
Expand Down
1 change: 0 additions & 1 deletion src/widgets/PyramidNet/baseEdgeConnectionTab.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line max-classes-per-file
import {
Model, model, modelAction, prop,
} from 'mobx-keystone';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { observer } from 'mobx-react';
import { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import { TweakableChildrenInputs }
from '../../../common/keystone-tweakables/material-ui-controls/TweakableChildrenInputs';
import { useWorkspaceMst } from '../../../WidgetWorkspace/rootStore';
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/PyramidNet/components/BaseEdgeTabControls.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { observer } from 'mobx-react';
import { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import { BendGuideValleyModel } from '../baseEdgeConnectionTab';
import { TweakableChildrenInputs }
from '../../../common/keystone-tweakables/material-ui-controls/TweakableChildrenInputs';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { closedPolygonPath } from '../../../common/path/shapes/generic';
import { pathDToViewBoxStr } from '../../../common/util/svg';
import { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';

export function DecorationBoundarySVG({ store }: { store: PyramidNetWidgetModel }) {
const {
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/PyramidNet/components/DielinesLayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
registrationMarksPath,
toRectangleCoordinatesAttrs,
} from '../../../common/util/svg';
import { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import { PathFaceDecorationPatternModel } from '../models/PathFaceDecorationPatternModel';
import { ImageFaceDecorationPatternModel } from '../models/ImageFaceDecorationPatternModel';
import { PositionableFaceDecorationModel } from '../models/PositionableFaceDecorationModel';
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/PyramidNet/components/FileInputs.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useEffect, useRef } from 'react';
import { observer } from 'mobx-react';
import { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import { RawFaceDecorationModel } from '../models/RawFaceDecorationModel';
import { extractCutHolesFromSvgString } from '../../../common/util/svg';
import { useWorkspaceMst } from '../../../WidgetWorkspace/rootStore';
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/PyramidNet/components/PanelContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { styled } from '@mui/styles';
import { BaseEdgeTabControls } from './BaseEdgeTabControls';
import { AscendantEdgeTabsControls } from './AscendantEdgeTabsControls';
import { ShapeSelect } from './ShapeSelect';
import { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import { TweakableInput } from '../../../common/keystone-tweakables/material-ui-controls/TweakableInput';
import { useWorkspaceMst } from '../../../WidgetWorkspace/rootStore';

Expand Down
2 changes: 1 addition & 1 deletion src/widgets/PyramidNet/components/PrintLayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { PRINT_REGISTRATION_TYPES } from '../../../WidgetWorkspace/models/Prefer
import { PositionableFaceDecorationModel } from '../models/PositionableFaceDecorationModel';
import { boundingBoxMinPoint, expandBoundingBoxAttrs, registrationMarksPath } from '../../../common/util/svg';
import { pointToTranslateString, scalePoint } from '../../../common/util/geom';
import { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import { ImageFaceDecorationPatternModel } from '../models/ImageFaceDecorationPatternModel';
import { closedPolygonPath } from '../../../common/path/shapes/generic';

Expand Down
4 changes: 2 additions & 2 deletions src/widgets/PyramidNet/components/PyramidNetTestTabsSvg.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { getBoundingBoxAttrs } from '../../../common/util/svg';
import { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';

export function PyramidNetTestTabs({ widgetStore }: { widgetStore: PyramidNetWidgetModel }) {
const {
Expand All @@ -24,6 +24,7 @@ export function PyramidNetTestTabs({ widgetStore }: { widgetStore: PyramidNetWid
},
];
const Y_SPACING = 0;
// returning the results of the reduce caused errors
return (
// eslint-disable-next-line react/jsx-no-useless-fragment
<>
Expand All @@ -41,7 +42,6 @@ export function PyramidNetTestTabs({ widgetStore }: { widgetStore: PyramidNetWid
acc.y += ymax + Y_SPACING;
return acc;
}, { children: [], y: 0 }).children}

</>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import FullscreenIcon from '@mui/icons-material/Fullscreen';
import { IconButton } from '@mui/material';
import { styled } from '@mui/styles';
import clsx from 'clsx';
import { PyramidNetWidgetModel } from '../../../../../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../../../../../models/PyramidNetWidgetStore';
import { TOUR_ELEMENT_CLASSES } from '../../../../../../../common/util/tour';
import { useWorkspaceMst } from '../../../../../../../WidgetWorkspace/rootStore';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { observer } from 'mobx-react';
import clsx from 'clsx';
import { styled } from '@mui/styles';
import { PyramidNetWidgetModel } from '../../../../../../../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../../../../../../../models/PyramidNetWidgetStore';
import { ImageFaceDecorationPatternModel } from '../../../../../../../models/ImageFaceDecorationPatternModel';
import { PathData } from '../../../../../../../../../common/path/PathData';
import { RawFaceDecorationModel } from '../../../../../../../models/RawFaceDecorationModel';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/* eslint-disable react/require-default-props */
import React from 'react';
import { observer } from 'mobx-react';

import { HookReturnType, UseDragConfig } from 'react-use-gesture/dist/types';
import { RawPoint, scalePoint } from '../../../../../../../../../common/util/geom';
import { TexturePathNodes } from './TexturePathNodes';
import { PyramidNetWidgetModel } from '../../../../../../../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../../../../../../../models/PyramidNetWidgetStore';
import { ImageFaceDecorationPatternModel } from '../../../../../../../models/ImageFaceDecorationPatternModel';
import { TextureEditorModel } from '../../../models/TextureEditorModel';
import type { TextureEditorModel } from '../../../models/TextureEditorModel';
import { RawFaceDecorationModel } from '../../../../../../../models/RawFaceDecorationModel';
import { PathFaceDecorationPatternModel } from '../../../../../../../models/PathFaceDecorationPatternModel';
import { useWorkspaceMst } from '../../../../../../../../../WidgetWorkspace/rootStore';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { clamp } from 'lodash-es';
import { Paper } from '@mui/material';
import { observer } from 'mobx-react';
import { castCoordToRawPoint } from '../../../../../../../../common/util/geom';
import { PyramidNetWidgetModel } from '../../../../../../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../../../../../../models/PyramidNetWidgetStore';
import {
incrementTransformTracking,
TRANSFORM_METHODS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from '@mui/material';
import { observer } from 'mobx-react';
import { range } from 'lodash-es';
import { PyramidNetWidgetModel } from '../../../../../../../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../../../../../../../models/PyramidNetWidgetStore';
import { TOUR_ELEMENT_CLASSES } from '../../../../../../../../../common/util/tour';
import { useWorkspaceMst } from '../../../../../../../../../WidgetWorkspace/rootStore';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { resolveImageDimensionsFromBase64, toBase64 } from '../../../../../../..
import { TOUR_ELEMENT_CLASSES } from '../../../../../../../../common/util/tour';
import { RawFaceDecorationModel } from '../../../../../../models/RawFaceDecorationModel';
import { HistoryButtons } from '../../../../../HistoryButtons';
import { PyramidNetWidgetModel } from '../../../../../../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../../../../../../models/PyramidNetWidgetStore';
import { ImageFaceDecorationPatternModel } from '../../../../../../models/ImageFaceDecorationPatternModel';
import { TweakableInput } from '../../../../../../../../common/keystone-tweakables/material-ui-controls/TweakableInput';
import { ShapeSelect } from '../../../../../ShapeSelect';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
} from '../../../../../../common/util/tour';
import { FullPageDiv } from '../../../../../../common/style/style';
import { RawFaceDecorationModel } from '../../../../models/RawFaceDecorationModel';
import { PyramidNetWidgetModel } from '../../../../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../../../../models/PyramidNetWidgetStore';
import { ImageFaceDecorationPatternModel } from '../../../../models/ImageFaceDecorationPatternModel';
import { PathFaceDecorationPatternModel } from '../../../../models/PathFaceDecorationPatternModel';
import { useWorkspaceMst } from '../../../../../../WidgetWorkspace/rootStore';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line max-classes-per-file
import { flatten, includes } from 'lodash-es';
import { Model, model, modelAction } from 'mobx-keystone';
import { computed, observable } from 'mobx';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
import ReactDOMServer from 'react-dom/server';
import React from 'react';
import { TextureSvgUnobserved } from '../components/TextureArrangement/components/TextureSvg';
import { TextureEditorModel } from './TextureEditorModel';
import type { TextureEditorModel } from './TextureEditorModel';
import { ImageFaceDecorationPatternModel } from '../../../../../models/ImageFaceDecorationPatternModel';
import { RawFaceDecorationModel } from '../../../../../models/RawFaceDecorationModel';
import { PathFaceDecorationPatternModel } from '../../../../../models/PathFaceDecorationPatternModel';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { ShapePreviewModel } from './ShapePreviewModel';
import { sliderProp } from '../../../../../../../common/keystone-tweakables/props';
import { tryResolvePath } from '../../../../../../../common/util/mobx-keystone';
import { TransformModel } from '../../../../../models/TransformModel';
import { PyramidNetWidgetModel } from '../../../../../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../../../../../models/PyramidNetWidgetStore';
import { ImageFaceDecorationPatternModel } from '../../../../../models/ImageFaceDecorationPatternModel';
import { PositionableFaceDecorationModel } from '../../../../../models/PositionableFaceDecorationModel';
import { extractCutHolesFromSvgString } from '../../../../../../../common/util/svg';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* eslint-disable no-param-reassign */
import React from 'react';
import { observer } from 'mobx-react';
import { Drawer } from '@mui/material';
import { styled } from '@mui/styles';
import { PyramidNetWidgetModel } from '../../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../../models/PyramidNetWidgetStore';
import { TextureEditor } from './components/TextureEditor';
import { useWorkspaceMst } from '../../../../WidgetWorkspace/rootStore';

Expand All @@ -26,7 +25,6 @@ export const TextureEditorDrawer = observer(() => {
open={pyramidNetPluginStore.textureEditorOpen}
transitionDuration={500}
>
{/* eslint-disable-next-line react/jsx-no-undef */}
<TextureEditor />
</DrawerStyled>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import OpenInBrowserIcon from '@mui/icons-material/OpenInBrowser';
import HowToVoteIcon from '@mui/icons-material/HowToVote';
import React from 'react';
import fileDownload from 'js-file-download';
import { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import type { PyramidNetWidgetModel } from '../models/PyramidNetWidgetStore';
import { SVGWrapper } from '../../../common/components/SVGWrapper';
import { PyramidNetTestTabs } from './PyramidNetTestTabsSvg';
import { PositionableFaceDecorationModel } from '../models/PositionableFaceDecorationModel';
Expand Down
1 change: 0 additions & 1 deletion src/widgets/PyramidNet/models/PyramidNetWidgetStore.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable max-classes-per-file,no-param-reassign */
import ReactDOMServer from 'react-dom/server';
import React from 'react';

Expand Down
Loading

0 comments on commit 09c0507

Please sign in to comment.