Show warnings even when offline

This commit is contained in:
Gabe Kangas
2020-11-07 23:00:02 -08:00
parent 20d0596233
commit eaafe57bb3
2 changed files with 62 additions and 56 deletions

View File

@@ -1,8 +1,8 @@
/* eslint-disable no-array-constructor */
import React, { useState, useEffect } from 'react';
import { BulbOutlined, LaptopOutlined, SaveOutlined } from "@ant-design/icons";
import { Row } from "antd";
import {LaptopOutlined, BulbOutlined, SaveOutlined} from "@ant-design/icons"
import { HARDWARE_STATS, fetchData, FETCH_INTERVAL } from '../utils/apis';
import React, { useEffect, useState } from 'react';
import { fetchData, FETCH_INTERVAL, HARDWARE_STATS } from '../utils/apis';
import Chart from './components/chart';
import StatisticItem from "./components/statistic";