Skip to content

Commit 0c29e20

Browse files
Moves css files to styles
1 parent 390c204 commit 0c29e20

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

src/components/Map/LinearGradient.js renamed to src/components/LinearGradient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import PropTypes from "prop-types";
3-
import "./LinearGradient.css";
3+
import "../styles/LinearGradient.css";
44

55
const LinearGradient = (props) => {
66
const { data } = props;

src/components/Map/Map.js renamed to src/components/Map.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { ComposableMap, Geographies, Geography } from "react-simple-maps";
33
import { scaleQuantile } from "d3-scale";
44
import ReactTooltip from "react-tooltip";
55
import LinearGradient from "./LinearGradient.js";
6-
import INDIA_TOPO_JSON from "./india.topo.json";
7-
import "./Map.css";
6+
import INDIA_TOPO_JSON from "../constants/india.topo.json";
7+
import "../styles/Map.css"
88

99
/**
1010
* Courtesy: https://rawgit.com/Anujarya300/bubble_maps/master/data/geography-data/india.topo.json

src/components/MapSection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { Component } from "react";
22
import DisplayPanels from "./DisplayPanels";
3-
import Map from "./Map/Map";
3+
import Map from "./Map";
44
import { withStyles } from "@material-ui/styles";
55
import styles from "../styles/MapSection";
66

@@ -32,7 +32,7 @@ class MapSection extends Component {
3232
(Number(updatedData.deltarecovered) +
3333
Number(updatedData.deltadeaths)),
3434
});
35-
} catch (error) {}
35+
} catch (error) { }
3636
}
3737

3838
render() {
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)