From a6f0a73c1cc4bc005f49ee67b496994b785cbf6b Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Tue, 13 Sep 2022 20:51:04 +0530 Subject: [PATCH] fix(ui) - performance data change --- frontend/app/components/Session_/Performance/Performance.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Session_/Performance/Performance.tsx b/frontend/app/components/Session_/Performance/Performance.tsx index 8a9706be2..13c135f7b 100644 --- a/frontend/app/components/Session_/Performance/Performance.tsx +++ b/frontend/app/components/Session_/Performance/Performance.tsx @@ -147,7 +147,7 @@ const VERY_LOW_FPS = 20; const LOW_FPS_MARKER_VALUE = 5; const HIDDEN_SCREEN_MARKER_VALUE = 20; function addFpsMetadata(data) { - return data.map((point, i) => { + return [...data].map((point, i) => { let fpsVeryLowMarker = null; let fpsLowMarker = null; let hiddenScreenMarker = 0;