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 React from 'react'; | |
| import Nav from './Nav'; | |
| import ProjectionsHeader from './projectionsHeader'; | |
| import Chart from './chart'; | |
| import cookie from 'react-cookies'; | |
| import axios from 'axios'; | |
| class Projections extends React.Component { | |
| constructor() { | |
| super(); |
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 React from 'react'; | |
| import { Doughnut, Line } from 'react-chartjs-2'; | |
| import moment from 'moment'; | |
| import cookie from 'react-cookies'; | |
| class Chart extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.calculateData = this.calculateData.bind(this); | |
| this.state = { |
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 React from 'react'; | |
| import Nav from './Nav'; | |
| import ProjectionsHeader from './projectionsHeader'; | |
| import Chart from './chart'; | |
| import cookie from 'react-cookies'; | |
| import moment from 'moment'; | |
| class Projections extends React.Component { | |
| constructor() { |
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 React from 'react'; | |
| import Nav from './Nav'; | |
| import ProjectionsHeader from './projectionsHeader'; | |
| import Chart from './chart'; | |
| import cookie from 'react-cookies'; | |
| import moment from 'moment'; | |
| class Projections extends React.Component { | |
| constructor() { |
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 React from 'react'; | |
| import { Line } from 'react-chartjs-2'; | |
| import moment from 'moment'; | |
| import cookie from 'react-cookies'; | |
| class Chart extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.calculateData = this.calculateData.bind(this); | |
| this.state = { |
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 React from 'react'; | |
| import Nav from './Nav'; | |
| import ProjectionsHeader from './projectionsHeader'; | |
| import Chart from './chart'; | |
| import cookie from 'react-cookies'; | |
| import moment from 'moment'; | |
| class Projections extends React.Component { | |
| constructor() { |
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 React from 'react'; | |
| import { Line } from 'react-chartjs-2'; | |
| import moment from 'moment'; | |
| import cookie from 'react-cookies'; | |
| class Chart extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.calculateData = this.calculateData.bind(this); | |
| this.state = { |
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
| // Where chart calculation is done and generated | |
| import React from 'react'; | |
| import { Line } from 'react-chartjs-2'; | |
| import moment from 'moment'; | |
| import cookie from 'react-cookies'; | |
| class Chart extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.calculateData = this.calculateData.bind(this); |
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 React from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import { HashRouter, Route } from 'react-router-dom'; | |
| import Main from './Main'; | |
| import Projections from './projections'; | |
| import Choose from './choose'; | |
| import Self from './Self'; | |
| ReactDOM.render( | |
| <HashRouter> |
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 React from 'react'; | |
| import { withRouter } from 'react-router-dom'; | |
| import { Field, reduxForm } from 'redux-form'; | |
| import cookie from 'react-cookies'; | |
| import $ from 'jquery'; | |
| class Form extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { |