From ddef2b0600ff0f6eb8b3b4bb55d2955433f56567 Mon Sep 17 00:00:00 2001 From: Arpit Date: Sat, 28 Aug 2021 09:09:31 +0530 Subject: [PATCH] Sort logs according to time (#625) --- frontend/src/Editor/LeftSidebar/SidebarDebugger.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Editor/LeftSidebar/SidebarDebugger.jsx b/frontend/src/Editor/LeftSidebar/SidebarDebugger.jsx index 4680b419ad..dd3cbb73c6 100644 --- a/frontend/src/Editor/LeftSidebar/SidebarDebugger.jsx +++ b/frontend/src/Editor/LeftSidebar/SidebarDebugger.jsx @@ -48,7 +48,7 @@ export const LeftSidebarDebugger = ({ darkMode, components, errors }) => { }) }) - const newData = [...copy, ...errorData] + const newData = [...errorData, ...copy] return newData })