From 6c00566c75afb6ef204defe505c51cafeb75a34e Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Wed, 12 Feb 2025 23:08:40 +0100 Subject: [PATCH] fix: no menu in PWA --- src/components/layout/Sidebar.tsx | 100 +++++++++++++++--------------- 1 file changed, 49 insertions(+), 51 deletions(-) diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index 45e6b78..653a2ec 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -122,60 +122,58 @@ export function Sidebar({ isOpen }: SidebarProps) { - {isAuthenticated && ( - <> -
-
-
-

Bibliothèques

- -
- {isLoading ? ( -
Chargement...
- ) : libraries.length === 0 ? ( -
Aucune bibliothèque
- ) : ( - libraries.map((library) => ( - - - {library.name} - - )) - )} -
-
- -
-
-

Configuration

- +
+
+
+

Bibliothèques

+
+ {isLoading ? ( +
Chargement...
+ ) : libraries.length === 0 ? ( +
Aucune bibliothèque
+ ) : ( + libraries.map((library) => ( + + + {library.name} + + )) + )}
- - )} +
+ +
+
+

Configuration

+ + + Préférences + +
+
+
{isAuthenticated && (