From 0643532d5a5adeebf712fb7e0fecf5181baf8e77 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 28 Oct 2020 13:42:44 +0100 Subject: 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. --- frontend/src/components/app/map/controls/ScaleIndicatorComponent.js | 2 +- frontend/src/components/app/map/controls/ToolPanelComponent.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/src/components/app/map') 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 }) => (
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 = () => (
-- cgit v1.2.3