From d01a5f5bd069974b99c3cfcfee7c970f45d5b930 Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Thu, 4 May 2017 10:36:53 -0400 Subject: [PATCH] Make a copy of monitor data --- src/reducers/monitors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reducers/monitors.js b/src/reducers/monitors.js index 8e75a25e0..e8b4fa947 100644 --- a/src/reducers/monitors.js +++ b/src/reducers/monitors.js @@ -6,7 +6,7 @@ const reducer = function (state, action) { if (typeof state === 'undefined') state = initialState; switch (action.type) { case UPDATE_MONITORS: - return action.monitors; + return [...action.monitors]; default: return state; }