From f51afccbf2e8c10d1ebf97355edae22483f9671c Mon Sep 17 00:00:00 2001 From: Kyle Conel Date: Fri, 18 Oct 2024 23:02:00 -0400 Subject: [PATCH] cleanup --- src/layouts/App.jsx | 6 +++++- src/pages/Dashboard/Dashboard.jsx | 3 --- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/layouts/App.jsx b/src/layouts/App.jsx index f2f4ec6..8bda12d 100644 --- a/src/layouts/App.jsx +++ b/src/layouts/App.jsx @@ -23,7 +23,11 @@ const { Content, Sider } = Layout; // eslint-disable-next-line consistent-return function loadSidebarComponents(pathname, setShowModal) { - if (pathname === '/dashboard' || pathname === '/' || pathname === '/settings') { + if ( + pathname === '/dashboard' || + pathname === '/' || + pathname === '/settings' + ) { return ( <>
- - You - {new Date(this.getProjectTotalTimeSpent() * 1000) .toISOString()