From 0df2a369f479829f0efc018f6adc52077f3b2ef7 Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Wed, 13 Nov 2019 19:23:22 +0000 Subject: [PATCH] Import library css without relative import path --- app/src/frontend/app.tsx | 2 +- app/src/frontend/map/map.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/frontend/app.tsx b/app/src/frontend/app.tsx index e87202bc..684e9617 100644 --- a/app/src/frontend/app.tsx +++ b/app/src/frontend/app.tsx @@ -1,7 +1,7 @@ import React, { Fragment } from 'react'; import { Link, Route, Switch } from 'react-router-dom'; -import '../../node_modules/bootstrap/dist/css/bootstrap.min.css'; +import 'bootstrap/dist/css/bootstrap.min.css'; import './app.css'; import Header from './header'; diff --git a/app/src/frontend/map/map.tsx b/app/src/frontend/map/map.tsx index d55c5fc7..f8c484e4 100644 --- a/app/src/frontend/map/map.tsx +++ b/app/src/frontend/map/map.tsx @@ -2,7 +2,7 @@ import { GeoJsonObject } from 'geojson'; import React, { Component, Fragment } from 'react'; import { AttributionControl, GeoJSON, Map, TileLayer, ZoomControl } from 'react-leaflet-universal'; -import '../../../node_modules/leaflet/dist/leaflet.css'; +import 'leaflet/dist/leaflet.css'; import './map.css'; import { HelpIcon } from '../components/icons';