From bcca6ec5968539fcf3368078d2a8174b85cf2773 Mon Sep 17 00:00:00 2001 From: Jared Scheib Date: Fri, 1 Sep 2017 17:37:07 -0400 Subject: [PATCH] Remove obsolete getInitialState store helper func --- ui/src/store/getInitialState.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 ui/src/store/getInitialState.js diff --git a/ui/src/store/getInitialState.js b/ui/src/store/getInitialState.js deleted file mode 100644 index a91f4cf94..000000000 --- a/ui/src/store/getInitialState.js +++ /dev/null @@ -1,18 +0,0 @@ -import uuid from 'node-uuid' -import defaultQueryConfig from 'src/utils/defaultQueryConfig' - -export default function getInitialState() { - const panelID = uuid.v4() // for the default Panel - const queryID = uuid.v4() // for the default Query - return { - panels: { - [panelID]: { - id: panelID, - queryIds: [queryID], - }, - }, - queryConfigs: { - [queryID]: defaultQueryConfig(queryID), - }, - } -}