Skip to content

Commit 2417465

Browse files
committed
Rename React files to .jsx
Vite does not compile JSX if the extension is .js
1 parent 84bab7f commit 2417465

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+6
-6
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/app/src/components/DrawTools/EditToolbar.js renamed to src/app/src/components/DrawTools/EditToolbar.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ import {
1818
} from '@heroicons/react/outline';
1919
import { CursorClickIcon } from '@heroicons/react/solid';
2020

21-
import AddPolygonIcon from '../../img/AddPolygonIcon.js';
22-
import DeletePolygonConfirmModal from './DeletePolygonConfirmModal.js';
23-
import { useDialogController } from '../../hooks.js';
24-
import EditPolygonModal from './EditPolygonModal.js';
21+
import AddPolygonIcon from '../../img/AddPolygonIcon';
22+
import DeletePolygonConfirmModal from './DeletePolygonConfirmModal';
23+
import { useDialogController } from '../../hooks';
24+
import EditPolygonModal from './EditPolygonModal';
2525
import {
2626
cancelAddPolygon,
2727
startAddPolygon,
2828
toggleEditMode,
2929
togglePolygonVisibility,
30-
} from '../../store/mapSlice.js';
30+
} from '../../store/mapSlice';
3131

3232
const POLYGON_BUTTON_WIDTH = 40;
3333

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)