summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Shetye2023-02-13 14:38:22 +0530
committerSunil Shetye2023-02-13 14:38:22 +0530
commitc8e351e8f31ba856f3baa8f5e0dd4d4ed0751311 (patch)
tree137a4168f0114c9c10ed4e3eee933c4d75df8317
parent1e0ec683cea3c326835fe4951c9766994e3a1e0c (diff)
downloadCommon-Interface-Project-c8e351e8f31ba856f3baa8f5e0dd4d4ed0751311.tar.gz
Common-Interface-Project-c8e351e8f31ba856f3baa8f5e0dd4d4ed0751311.tar.bz2
Common-Interface-Project-c8e351e8f31ba856f3baa8f5e0dd4d4ed0751311.zip
remove js extension from import line
-rw-r--r--blocks/eda-frontend/src/components/SchematicEditor/ComponentSidebar.js2
-rw-r--r--blocks/eda-frontend/src/components/SchematicEditor/Helper/ComponentDrag.js6
-rw-r--r--blocks/eda-frontend/src/components/SchematicEditor/Helper/SideBar.js2
-rw-r--r--blocks/eda-frontend/src/components/SchematicEditor/SideComp.js2
-rw-r--r--blocks/eda-frontend/src/pages/SchematicEditor.js2
-rw-r--r--blocks/eda-frontend/src/redux/reducers/componentPropertiesReducer.js2
6 files changed, 8 insertions, 8 deletions
diff --git a/blocks/eda-frontend/src/components/SchematicEditor/ComponentSidebar.js b/blocks/eda-frontend/src/components/SchematicEditor/ComponentSidebar.js
index 3266b5f4..cb92bad7 100644
--- a/blocks/eda-frontend/src/components/SchematicEditor/ComponentSidebar.js
+++ b/blocks/eda-frontend/src/components/SchematicEditor/ComponentSidebar.js
@@ -13,7 +13,7 @@ import CloseIcon from '@material-ui/icons/Close'
import './Helper/SchematicEditor.css'
import { useDispatch, useSelector } from 'react-redux'
import { fetchLibraries, toggleCollapse, fetchComponents, fetchComponentImages, toggleSimulate } from '../../redux/actions/index'
-import SideComp from './SideComp.js'
+import SideComp from './SideComp'
import SimulationProperties from './SimulationProperties'
const COMPONENTS_PER_ROW = 3
diff --git a/blocks/eda-frontend/src/components/SchematicEditor/Helper/ComponentDrag.js b/blocks/eda-frontend/src/components/SchematicEditor/Helper/ComponentDrag.js
index 494120e3..b81ab201 100644
--- a/blocks/eda-frontend/src/components/SchematicEditor/Helper/ComponentDrag.js
+++ b/blocks/eda-frontend/src/components/SchematicEditor/Helper/ComponentDrag.js
@@ -7,9 +7,9 @@ import dot from '../../../static/dot.gif'
import blockstyle from '../../../static/style.json'
import { getCompProperties, closeCompProperties } from '../../../redux/actions/index'
-import toolbarTools from './ToolbarTools.js'
-import keyboardShortcuts from './KeyboardShortcuts.js'
-import { sideBar } from './SideBar.js'
+import toolbarTools from './ToolbarTools'
+import keyboardShortcuts from './KeyboardShortcuts'
+import { sideBar } from './SideBar'
let graph
diff --git a/blocks/eda-frontend/src/components/SchematicEditor/Helper/SideBar.js b/blocks/eda-frontend/src/components/SchematicEditor/Helper/SideBar.js
index 2cba3d97..bba0960c 100644
--- a/blocks/eda-frontend/src/components/SchematicEditor/Helper/SideBar.js
+++ b/blocks/eda-frontend/src/components/SchematicEditor/Helper/SideBar.js
@@ -2,7 +2,7 @@
import 'mxgraph/javascript/src/css/common.css'
import mxGraphFactory from 'mxgraph'
-import { defaultScale, getSvgMetadata } from './SvgParser.js'
+import { defaultScale, getSvgMetadata } from './SvgParser'
const {
mxClient,
diff --git a/blocks/eda-frontend/src/components/SchematicEditor/SideComp.js b/blocks/eda-frontend/src/components/SchematicEditor/SideComp.js
index f5ddffb4..bb946298 100644
--- a/blocks/eda-frontend/src/components/SchematicEditor/SideComp.js
+++ b/blocks/eda-frontend/src/components/SchematicEditor/SideComp.js
@@ -4,7 +4,7 @@ import { List, ListItemText, Tooltip, Popover } from '@material-ui/core'
import { makeStyles } from '@material-ui/core/styles'
import './Helper/SchematicEditor.css'
-import { AddComponent } from './Helper/SideBar.js'
+import { AddComponent } from './Helper/SideBar'
const useStyles = makeStyles((theme) => ({
popupInfo: {
diff --git a/blocks/eda-frontend/src/pages/SchematicEditor.js b/blocks/eda-frontend/src/pages/SchematicEditor.js
index 81bd85ae..fd714827 100644
--- a/blocks/eda-frontend/src/pages/SchematicEditor.js
+++ b/blocks/eda-frontend/src/pages/SchematicEditor.js
@@ -11,7 +11,7 @@ import LayoutMain from '../components/Shared/LayoutMain'
import SchematicToolbar from '../components/SchematicEditor/SchematicToolbar'
import RightSidebar from '../components/SchematicEditor/RightSidebar'
import PropertiesSidebar from '../components/SchematicEditor/PropertiesSidebar'
-import LoadGrid from '../components/SchematicEditor/Helper/ComponentDrag.js'
+import LoadGrid from '../components/SchematicEditor/Helper/ComponentDrag'
import '../components/SchematicEditor/Helper/SchematicEditor.css'
import { fetchSchematic, loadGallery } from '../redux/actions/index'
import { useDispatch } from 'react-redux'
diff --git a/blocks/eda-frontend/src/redux/reducers/componentPropertiesReducer.js b/blocks/eda-frontend/src/redux/reducers/componentPropertiesReducer.js
index 2907d221..e5bf9334 100644
--- a/blocks/eda-frontend/src/redux/reducers/componentPropertiesReducer.js
+++ b/blocks/eda-frontend/src/redux/reducers/componentPropertiesReducer.js
@@ -1,5 +1,5 @@
import * as actions from '../actions/actions'
-import { editorZoomAct } from '../../components/SchematicEditor/Helper/ToolbarTools.js'
+import { editorZoomAct } from '../../components/SchematicEditor/Helper/ToolbarTools'
const InitialState = {
block: null,