This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gql from 'graphql-tag'; | |
import ReactMapboxGl, { Layer, Feature } from 'react-mapbox-gl'; | |
import React from 'react'; | |
import { Query } from 'react-apollo'; | |
const MAPBOX_STYLE = 'mapbox://styles/mapbox/streets-v9'; | |
const GET_INFO = gql` | |
query getInfo { | |
getInfo { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
CartesianGrid, Line, LineChart, XAxis, YAxis, Tooltip, | |
} from 'recharts'; | |
import React, { Fragment } from 'react'; | |
import gql from 'graphql-tag'; | |
import { Query } from 'react-apollo'; | |
const GET_INFO = gql` | |
query getInfo { | |
getInfo { |