diff options
Diffstat (limited to 'ui-react/src/components/loop_viewer/svg/LoopSvg.js')
-rw-r--r-- | ui-react/src/components/loop_viewer/svg/LoopSvg.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-react/src/components/loop_viewer/svg/LoopSvg.js b/ui-react/src/components/loop_viewer/svg/LoopSvg.js index 1b1e24280..48f0335fc 100644 --- a/ui-react/src/components/loop_viewer/svg/LoopSvg.js +++ b/ui-react/src/components/loop_viewer/svg/LoopSvg.js @@ -45,7 +45,7 @@ class LoopViewSvg extends React.Component { state = { svgContent: LoopViewSvg.emptySvg, loopCache: new LoopCache({}), - componentModalMapping: new Map([]), + componentModalMapping: new Map([]) } constructor(props) { @@ -65,7 +65,7 @@ class LoopViewSvg extends React.Component { if (this.state.loopCache !== newProps.loopCache) { this.setState({ loopCache: newProps.loopCache, - componentModalMapping: LoopComponentConverter.buildMapOfComponents(newProps.loopCache), + componentModalMapping: LoopComponentConverter.buildMapOfComponents(newProps.loopCache) }); this.getSvg(newProps.loopCache.getLoopName()); } |