From 4ebd471c49cb11790332caed6c0d9532142ac437 Mon Sep 17 00:00:00 2001 From: abhinav-grd Date: Fri, 24 Sep 2021 11:47:16 +0530 Subject: [PATCH] reorder items in sidebar --- src/components/Sidebar.tsx | 60 ++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 586f1824b..8e1ac23e3 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -110,6 +110,17 @@ export default function Sidebar(props: Props) { setIsOpen(false); galleryContext.showPlanSelectorModal(); } + + const Divider = () => ( +
+ ); return (
-
+ - {constants.REQUEST_FEATURE} - - initiateEmail('contact@ente.io')}> - {constants.SUPPORT} + onClick={() => { + galleryContext.setActiveCollection(ARCHIVE_SECTION); + setIsOpen(false); + }}> + {constants.ARCHIVE} <> {constants.UPDATE_EMAIL} + + + {constants.REQUEST_FEATURE} + + initiateEmail('contact@ente.io')}> + {constants.SUPPORT} + <> - { - galleryContext.setActiveCollection(ARCHIVE_SECTION); - setIsOpen(false); - }}> - {constants.ARCHIVE} - -
+