summaryrefslogtreecommitdiff
path: root/frontend/src/components/app/map/controls
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-28 13:42:44 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-29 11:19:25 +0100
commit0643532d5a5adeebf712fb7e0fecf5181baf8e77 (patch)
tree73ab53e132a07c2e03b7d696d2d7d4264467ea76 /frontend/src/components/app/map/controls
parent93fa55749c40ed1f1a7bee9157bce81708988656 (diff)
Use built-in Sass support from Create React App
This change updates the frontend to use the built-in Sass support provided by Create React App to simplify the development pipeline.
Diffstat (limited to 'frontend/src/components/app/map/controls')
-rw-r--r--frontend/src/components/app/map/controls/ScaleIndicatorComponent.js2
-rw-r--r--frontend/src/components/app/map/controls/ToolPanelComponent.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/app/map/controls/ScaleIndicatorComponent.js b/frontend/src/components/app/map/controls/ScaleIndicatorComponent.js
index 54709482..7cbb45c0 100644
--- a/frontend/src/components/app/map/controls/ScaleIndicatorComponent.js
+++ b/frontend/src/components/app/map/controls/ScaleIndicatorComponent.js
@@ -1,6 +1,6 @@
import React from 'react'
import { TILE_SIZE_IN_METERS, TILE_SIZE_IN_PIXELS } from '../MapConstants'
-import './ScaleIndicatorComponent.css'
+import './ScaleIndicatorComponent.sass'
const ScaleIndicatorComponent = ({ scale }) => (
<div className="scale-indicator" style={{ width: TILE_SIZE_IN_PIXELS * scale }}>
diff --git a/frontend/src/components/app/map/controls/ToolPanelComponent.js b/frontend/src/components/app/map/controls/ToolPanelComponent.js
index e0e4d554..f372734d 100644
--- a/frontend/src/components/app/map/controls/ToolPanelComponent.js
+++ b/frontend/src/components/app/map/controls/ToolPanelComponent.js
@@ -1,7 +1,7 @@
import React from 'react'
import ZoomControlContainer from '../../../../containers/app/map/controls/ZoomControlContainer'
import ExportCanvasComponent from './ExportCanvasComponent'
-import './ToolPanelComponent.css'
+import './ToolPanelComponent.sass'
const ToolPanelComponent = () => (
<div className="tool-panel">