Remove unnecessary code
parent
63c0909c17
commit
a571962ba5
|
@ -1,24 +1,6 @@
|
|||
export default function getInitialState(localStorage, hosts, alerts) {
|
||||
const existingTimeSettingsString = localStorage.getItem('time');
|
||||
|
||||
alerts = [
|
||||
{
|
||||
name: "High CPU",
|
||||
time: "12:00:01",
|
||||
value: "90%",
|
||||
host: "prod-influx-data-1",
|
||||
severity: "high",
|
||||
},
|
||||
{
|
||||
name: "Reavers",
|
||||
time: "12:00:02",
|
||||
value: "9000",
|
||||
host: "Firefly",
|
||||
severity: "ohgodohgod",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
|
||||
const h = {};
|
||||
hosts.forEach((host) => {
|
||||
|
|
Loading…
Reference in New Issue