From 57d09c08d437354199f9d7a8722d3c339e9ed8f2 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Fri, 19 Apr 2024 12:47:16 +0530 Subject: [PATCH] Only load when in electron --- web/apps/photos/src/components/Sidebar/UtilitySection.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/apps/photos/src/components/Sidebar/UtilitySection.tsx b/web/apps/photos/src/components/Sidebar/UtilitySection.tsx index c9c734cd98..6b4a6f43d5 100644 --- a/web/apps/photos/src/components/Sidebar/UtilitySection.tsx +++ b/web/apps/photos/src/components/Sidebar/UtilitySection.tsx @@ -206,7 +206,12 @@ export default function UtilitySection({ closeSidebar }) { closeSidebar={closeSidebar} setLoading={startLoading} /> - + {isElectron() && ( + + )}