Remove old file

pull/10616/head
Kevin Fitzpatrick 2016-10-17 11:51:15 -07:00 committed by Jade McGough
parent 1086b22d60
commit f197108388
1 changed files with 0 additions and 25 deletions

View File

@ -1,25 +0,0 @@
export default function getInitialState(localStorage, hosts, alerts) {
const existingTimeSettingsString = localStorage.getItem('time');
const h = {};
hosts.forEach((host) => {
h[host] = {url: host};
});
const time = Object.assign({
bounds: {
lower: 'now() - 15m',
upper: 'now()',
},
groupByInterval: 60,
}, JSON.parse(existingTimeSettingsString || '{}'));
// Why are we getting hosts for all pages?
// I've copied alerts here in the same way.
return {
hosts: h,
alerts: alerts,
time,
};
}