mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-21 21:33:08 +01:00
Added graphs for ping/dl/up
This commit is contained in:
7
resources/js/components/Home/HomePage.js
vendored
7
resources/js/components/Home/HomePage.js
vendored
@@ -1,19 +1,22 @@
|
||||
import React, { Component } from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import HistoryGraph from '../Graphics/HistoryGraph';
|
||||
|
||||
export default class HomePage extends Component {
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
||||
this.state = {
|
||||
|
||||
token: this.props.token,
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
var token = this.state.token;
|
||||
|
||||
return (
|
||||
<div>
|
||||
Homepage coming soon...
|
||||
<HistoryGraph token={token} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user