From be88aaabb0f13458fde0dabe413a7c858e1cc941 Mon Sep 17 00:00:00 2001 From: HenryNguyen5 Date: Thu, 8 Feb 2018 18:49:40 -0500 Subject: [PATCH] Fix selector lib only grabbing from static nodes --- common/selectors/config/nodes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/selectors/config/nodes.ts b/common/selectors/config/nodes.ts index fb266091..f6e6366b 100644 --- a/common/selectors/config/nodes.ts +++ b/common/selectors/config/nodes.ts @@ -109,7 +109,7 @@ export function getNodeConfig(state: AppState): StaticNodeConfig | CustomNodeCon } export function getNodeLib(state: AppState) { - const config = getStaticNodeConfig(state); + const config = getNodeConfig(state); if (!config) { throw Error('No node lib found when trying to select from state'); }